Searched refs:padn (Results 1 – 6 of 6) sorted by relevance
/net-tools-2.7.6/mbedtls-2.4.0/library/ |
D | md4.c | 274 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()
|
D | md5.c | 291 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()
|
D | sha256.c | 292 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()
|
D | sha512.c | 326 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()
|
D | ripemd160.c | 349 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()
|
D | sha1.c | 323 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()
|