/third_party/mbedtls/programs/hash/ |
D | generic_sum.c | 71 for( i = 0; i < mbedtls_md_get_size( md_info ); i++ ) in generic_print() 111 if( n < (size_t) 2 * mbedtls_md_get_size( md_info ) + 4 ) in generic_check() 117 …if( line[2 * mbedtls_md_get_size( md_info )] != ' ' || line[2 * mbedtls_md_get_size( md_info ) + 1… in generic_check() 128 if( generic_wrapper( md_info, line + 2 + 2 * mbedtls_md_get_size( md_info ), sum ) != 0 ) in generic_check() 136 for( i = 0; i < mbedtls_md_get_size( md_info ); i++ ) in generic_check() 141 for( i = 0; i < 2 * mbedtls_md_get_size( md_info ); i++ ) in generic_check()
|
/third_party/mbedtls/programs/aes/ |
D | crypt_and_hash.c | 433 … if( fwrite( digest, 1, mbedtls_md_get_size( md_info ), fout ) != mbedtls_md_get_size( md_info ) ) in main() 435 mbedtls_fprintf( stderr, "fwrite(%d bytes) failed\n", mbedtls_md_get_size( md_info ) ); in main() 451 if( filesize < 16 + mbedtls_md_get_size( md_info ) ) in main() 467 ( ( filesize - mbedtls_md_get_size( md_info ) ) % in main() 478 filesize -= ( 16 + mbedtls_md_get_size( md_info ) ); in main() 592 … if( fread( buffer, 1, mbedtls_md_get_size( md_info ), fin ) != mbedtls_md_get_size( md_info ) ) in main() 594 mbedtls_fprintf( stderr, "fread(%d bytes) failed\n", mbedtls_md_get_size( md_info ) ); in main() 600 for( i = 0; i < mbedtls_md_get_size( md_info ); i++ ) in main()
|
/third_party/mbedtls/library/ |
D | ssl_tls13_keys.c | 267 ctx_len = mbedtls_md_get_size( md_info ); in mbedtls_ssl_tls13_derive_secret() 306 hlen = mbedtls_md_get_size( md_info ); in mbedtls_ssl_tls13_evolve_secret() 360 size_t const md_size = mbedtls_md_get_size( md_info ); in mbedtls_ssl_tls13_derive_early_secrets() 414 size_t const md_size = mbedtls_md_get_size( md_info ); in mbedtls_ssl_tls13_derive_handshake_secrets() 476 size_t const md_size = mbedtls_md_get_size( md_info ); in mbedtls_ssl_tls13_derive_application_secrets() 546 size_t const md_size = mbedtls_md_get_size( md_info ); in mbedtls_ssl_tls13_derive_resumption_master_secret() 574 size_t const md_size = mbedtls_md_get_size( md_info ); in mbedtls_ssl_tls13_key_schedule_stage_application() 602 size_t const md_size = mbedtls_md_get_size( md_info ); in ssl_tls13_calc_finished_core() 665 size_t const md_size = mbedtls_md_get_size( md_info ); in mbedtls_ssl_tls13_calculate_verify_data() 722 size_t const md_size = mbedtls_md_get_size( md_info ); in mbedtls_ssl_tls13_create_psk_binder() [all …]
|
D | hkdf.c | 40 ret = mbedtls_hkdf_expand( md, prk, mbedtls_md_get_size( md ), in mbedtls_hkdf() 65 hash_len = mbedtls_md_get_size( md ); in mbedtls_hkdf_extract() 97 hash_len = mbedtls_md_get_size( md ); in mbedtls_hkdf_expand()
|
D | hmac_drbg.c | 66 size_t md_len = mbedtls_md_get_size( ctx->md_ctx.md_info ); in mbedtls_hmac_drbg_update() 129 mbedtls_md_get_size( md_info ) ) ) != 0 ) in mbedtls_hmac_drbg_seed_buf() 131 memset( ctx->V, 0x01, mbedtls_md_get_size( md_info ) ); in mbedtls_hmac_drbg_seed_buf() 253 md_size = mbedtls_md_get_size( md_info ); in mbedtls_hmac_drbg_seed() 325 size_t md_len = mbedtls_md_get_size( ctx->md_ctx.md_info ); in mbedtls_hmac_drbg_random_with_add()
|
D | rsa.c | 1114 hlen = mbedtls_md_get_size( md_ctx->md_info ); in mgf_mask() 1181 hlen = mbedtls_md_get_size( md_info ); in mbedtls_rsa_rsaes_oaep_encrypt() 1362 hlen = mbedtls_md_get_size( md_info ); in mbedtls_rsa_rsaes_oaep_decrypt() 1580 if( hashlen != mbedtls_md_get_size( md_info ) ) in rsa_rsassa_pss_sign() 1588 hlen = mbedtls_md_get_size( md_info ); in rsa_rsassa_pss_sign() 1747 if( hashlen != mbedtls_md_get_size( md_info ) ) in rsa_rsassa_pkcs1_v15_encode() 1998 if( hashlen != mbedtls_md_get_size( md_info ) ) in mbedtls_rsa_rsassa_pss_verify_ext() 2006 hlen = mbedtls_md_get_size( md_info ); in mbedtls_rsa_rsassa_pss_verify_ext()
|
D | pkcs5.c | 229 unsigned char md_size = mbedtls_md_get_size( ctx->md_info ); in mbedtls_pkcs5_pbkdf2_hmac()
|
D | pkcs12.c | 254 hlen = mbedtls_md_get_size( md_info ); in mbedtls_pkcs12_derivation()
|
D | ecjpake.c | 237 mbedtls_md_get_size( md_info ) ) ); in ecjpake_hash() 768 *olen = mbedtls_md_get_size( ctx->md_info ); in mbedtls_ecjpake_derive_secret()
|
D | psa_crypto_rsa.c | 344 if( mbedtls_md_get_size( md_info ) != hash_length ) in psa_rsa_decode_md_type()
|
D | constant_time.c | 469 const size_t hash_size = mbedtls_md_get_size( ctx->md_info ); in mbedtls_ct_hmac()
|
D | pk.c | 244 *hash_len = mbedtls_md_get_size( md_info ); in pk_hashlen_helper()
|
D | md.c | 788 unsigned char mbedtls_md_get_size( const mbedtls_md_info_t *md_info ) in mbedtls_md_get_size() function
|
D | ssl_tls13_generic.c | 451 rsassa_pss_options.expected_salt_len = mbedtls_md_get_size( md_info ); in ssl_tls13_parse_certificate_verify()
|
D | ssl_tls.c | 482 md_len = mbedtls_md_get_size( md_info ); in tls_prf_generic() 866 mac_key_len = mbedtls_md_get_size( md_info ); in ssl_tls12_populate_transform() 1809 digest_len = mbedtls_md_get_size( digest_info ); in ssl_check_peer_crt_unchanged() 5065 if( session->peer_cert_digest_len != mbedtls_md_get_size( md_info ) ) in ssl_session_load_tls12() 7038 *hashlen = mbedtls_md_get_size( md_info ); in mbedtls_ssl_get_key_exchange_md_tls1_2()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_md.function | 51 TEST_ASSERT( mbedtls_md_get_size( NULL ) == 0 ); 117 TEST_ASSERT( mbedtls_md_get_size( md_info ) == (unsigned char) md_size ); 149 mbedtls_md_get_size( md_info ), 172 mbedtls_md_get_size( md_info ), 214 mbedtls_md_get_size( md_info ), 223 mbedtls_md_get_size( md_info ), 263 mbedtls_md_get_size( md_info ), 272 mbedtls_md_get_size( md_info ), 370 mbedtls_md_get_size( md_info ),
|
D | test_suite_pkcs1_v21.function | 163 digest, mbedtls_md_get_size( md_info ), hash_result, 176 digest, mbedtls_md_get_size( md_info ), hash_result, 218 …TEST_ASSERT( mbedtls_rsa_pkcs1_verify( &ctx, digest, mbedtls_md_get_size( md_info ), hash_result, … 260 hash_len = mbedtls_md_get_size( md_info );
|
D | test_suite_hkdf.function | 46 output_prk_len = mbedtls_md_get_size( md ); 86 TEST_ASSERT( prk_len == mbedtls_md_get_size( md ) );
|
D | test_suite_hmac_drbg.function | 53 if( mbedtls_md_get_size( md_info ) <= 20 ) 55 else if( mbedtls_md_get_size( md_info ) <= 28 )
|
D | test_suite_pkcs1_v15.function | 307 digest, mbedtls_md_get_size( md_info ), hash_result, 351 …TEST_ASSERT( mbedtls_rsa_pkcs1_verify( &ctx, digest, mbedtls_md_get_size( md_info ), hash_result, …
|
D | test_suite_ecdsa.function | 166 hlen = mbedtls_md_get_size( md_info ); 396 hlen = mbedtls_md_get_size( md_info );
|
D | test_suite_x509write.function | 57 csr.sig_md, hash, mbedtls_md_get_size( md_info ),
|
D | test_suite_pk.function | 458 hash_len = mbedtls_md_get_size( md_info ); 547 hlen = mbedtls_md_get_size( md_info );
|
D | test_suite_ssl.function | 1274 maclen = mbedtls_md_get_size( md_info ); 3809 size_t const md_size = mbedtls_md_get_size( md_info ); 3839 size_t const md_size = mbedtls_md_get_size( md_info ); 3870 size_t const md_size = mbedtls_md_get_size( md_info ); 3902 size_t const md_size = mbedtls_md_get_size( md_info ); 3929 size_t const md_size = mbedtls_md_get_size( md_info ); 4675 out_len = mbedtls_md_get_size( md_info );
|
/third_party/mbedtls/include/mbedtls/ |
D | md.h | 224 unsigned char mbedtls_md_get_size( const mbedtls_md_info_t *md_info );
|