Home
last modified time | relevance | path

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

/net-tools-2.7.6/mbedtls-2.4.0/library/
Dmd4.c274 uint32_t last, padn; in mbedtls_md4_finish() local
286 padn = ( last < 56 ) ? ( 56 - last ) : ( 120 - last ); in mbedtls_md4_finish()
288 mbedtls_md4_update( ctx, (unsigned char *) md4_padding, padn ); in mbedtls_md4_finish()
Dmd5.c291 uint32_t last, padn; in mbedtls_md5_finish() local
303 padn = ( last < 56 ) ? ( 56 - last ) : ( 120 - last ); in mbedtls_md5_finish()
305 mbedtls_md5_update( ctx, md5_padding, padn ); in mbedtls_md5_finish()
Dsha256.c292 uint32_t last, padn; in mbedtls_sha256_finish() local
304 padn = ( last < 56 ) ? ( 56 - last ) : ( 120 - last ); in mbedtls_sha256_finish()
306 mbedtls_sha256_update( ctx, sha256_padding, padn ); in mbedtls_sha256_finish()
Dsha512.c326 size_t last, padn; in mbedtls_sha512_finish() local
338 padn = ( last < 112 ) ? ( 112 - last ) : ( 240 - last ); in mbedtls_sha512_finish()
340 mbedtls_sha512_update( ctx, sha512_padding, padn ); in mbedtls_sha512_finish()
Dripemd160.c349 uint32_t last, padn; in mbedtls_ripemd160_finish() local
361 padn = ( last < 56 ) ? ( 56 - last ) : ( 120 - last ); in mbedtls_ripemd160_finish()
363 mbedtls_ripemd160_update( ctx, ripemd160_padding, padn ); in mbedtls_ripemd160_finish()
Dsha1.c323 uint32_t last, padn; in mbedtls_sha1_finish() local
335 padn = ( last < 56 ) ? ( 56 - last ) : ( 120 - last ); in mbedtls_sha1_finish()
337 mbedtls_sha1_update( ctx, sha1_padding, padn ); in mbedtls_sha1_finish()