Searched refs:OUTPUT_LEN (Results 1 – 4 of 4) sorted by relevance
/external/mbedtls/library/ |
D | hmac_drbg.c | 505 #define OUTPUT_LEN 80 macro 514 static const unsigned char result_pr[OUTPUT_LEN] = { 529 static const unsigned char result_nopr[OUTPUT_LEN] = { 562 unsigned char buf[OUTPUT_LEN]; in mbedtls_hmac_drbg_self_test() 578 CHK( mbedtls_hmac_drbg_random( &ctx, buf, OUTPUT_LEN ) ); in mbedtls_hmac_drbg_self_test() 579 CHK( mbedtls_hmac_drbg_random( &ctx, buf, OUTPUT_LEN ) ); in mbedtls_hmac_drbg_self_test() 580 CHK( memcmp( buf, result_pr, OUTPUT_LEN ) ); in mbedtls_hmac_drbg_self_test() 601 CHK( mbedtls_hmac_drbg_random( &ctx, buf, OUTPUT_LEN ) ); in mbedtls_hmac_drbg_self_test() 602 CHK( mbedtls_hmac_drbg_random( &ctx, buf, OUTPUT_LEN ) ); in mbedtls_hmac_drbg_self_test() 603 CHK( memcmp( buf, result_nopr, OUTPUT_LEN ) ); in mbedtls_hmac_drbg_self_test()
|
/external/openthread/third_party/mbedtls/repo/library/ |
D | hmac_drbg.c | 515 #define OUTPUT_LEN 80 macro 524 static const unsigned char result_pr[OUTPUT_LEN] = { 539 static const unsigned char result_nopr[OUTPUT_LEN] = { 572 unsigned char buf[OUTPUT_LEN]; in mbedtls_hmac_drbg_self_test() 588 CHK( mbedtls_hmac_drbg_random( &ctx, buf, OUTPUT_LEN ) ); in mbedtls_hmac_drbg_self_test() 589 CHK( mbedtls_hmac_drbg_random( &ctx, buf, OUTPUT_LEN ) ); in mbedtls_hmac_drbg_self_test() 590 CHK( memcmp( buf, result_pr, OUTPUT_LEN ) ); in mbedtls_hmac_drbg_self_test() 611 CHK( mbedtls_hmac_drbg_random( &ctx, buf, OUTPUT_LEN ) ); in mbedtls_hmac_drbg_self_test() 612 CHK( mbedtls_hmac_drbg_random( &ctx, buf, OUTPUT_LEN ) ); in mbedtls_hmac_drbg_self_test() 613 CHK( memcmp( buf, result_nopr, OUTPUT_LEN ) ); in mbedtls_hmac_drbg_self_test()
|
/external/rust/crates/ring/src/ |
D | digest.rs | 315 output_len: sha1::OUTPUT_LEN, 481 pub const SHA1_OUTPUT_LEN: usize = sha1::OUTPUT_LEN;
|
/external/rust/crates/ring/src/digest/ |
D | sha1.rs | 22 pub const OUTPUT_LEN: usize = 160 / 8; constant
|