Home
last modified time | relevance | path

Searched refs:padn (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/core/drivers/crypto/aspeed/
A Dhace_ast2600.c221 uint32_t padn = 0; in ast2600_hace_final() local
246 padn = 56 - last; in ast2600_hace_final()
248 padn = 120 - last; in ast2600_hace_final()
250 rc = ast2600_hace_update(ctx, pad, padn); in ast2600_hace_final()
262 padn = 112 - last; in ast2600_hace_final()
264 padn = 240 - last; in ast2600_hace_final()
266 rc = ast2600_hace_update(ctx, pad, padn); in ast2600_hace_final()
/optee_os-3.20.0/core/crypto/
A Dsm3.c219 uint32_t last, padn; in sm3_final() local
230 padn = (last < 56) ? (56 - last) : (120 - last); in sm3_final()
232 sm3_update(ctx, sm3_padding, padn); in sm3_final()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dmd4.c305 uint32_t last, padn; in mbedtls_md4_finish_ret() local
317 padn = ( last < 56 ) ? ( 56 - last ) : ( 120 - last ); in mbedtls_md4_finish_ret()
319 ret = mbedtls_md4_update_ret( ctx, (unsigned char *)md4_padding, padn ); in mbedtls_md4_finish_ret()
A Dripemd160.c372 uint32_t last, padn; in mbedtls_ripemd160_finish_ret() local
384 padn = ( last < 56 ) ? ( 56 - last ) : ( 120 - last ); in mbedtls_ripemd160_finish_ret()
386 ret = mbedtls_ripemd160_update_ret( ctx, ripemd160_padding, padn ); in mbedtls_ripemd160_finish_ret()

Completed in 14 milliseconds