Home
last modified time | relevance | path

Searched refs:MBEDTLS_MD_MAX_SIZE (Results 1 – 25 of 28) sorted by relevance

12

/third_party/mbedtls/programs/hash/
Dgeneric_sum.c66 unsigned char sum[MBEDTLS_MD_MAX_SIZE]; in generic_print()
85 unsigned char sum[MBEDTLS_MD_MAX_SIZE]; in generic_check()
89 char buf[MBEDTLS_MD_MAX_SIZE * 2 + 1] = { }; in generic_check()
91 char buf[MBEDTLS_MD_MAX_SIZE * 2 + 1]; in generic_check()
/third_party/mbedtls/library/
Dhkdf.c34 unsigned char prk[MBEDTLS_MD_MAX_SIZE]; in mbedtls_hkdf()
54 unsigned char null_salt[MBEDTLS_MD_MAX_SIZE] = { '\0' }; in mbedtls_hkdf_extract()
90 unsigned char t[MBEDTLS_MD_MAX_SIZE]; in mbedtls_hkdf_expand()
Dpkcs5.c227 unsigned char md1[MBEDTLS_MD_MAX_SIZE]; in mbedtls_pkcs5_pbkdf2_hmac()
228 unsigned char work[MBEDTLS_MD_MAX_SIZE]; in mbedtls_pkcs5_pbkdf2_hmac()
294 mbedtls_platform_zeroize( work, MBEDTLS_MD_MAX_SIZE ); in mbedtls_pkcs5_pbkdf2_hmac()
295 mbedtls_platform_zeroize( md1, MBEDTLS_MD_MAX_SIZE ); in mbedtls_pkcs5_pbkdf2_hmac()
Dssl_tls13_keys.c255 unsigned char hashed_context[ MBEDTLS_MD_MAX_SIZE ]; in mbedtls_ssl_tls13_derive_secret()
298 unsigned char tmp_secret[ MBEDTLS_MD_MAX_SIZE ] = { 0 }; in mbedtls_ssl_tls13_evolve_secret()
603 unsigned char finished_key[MBEDTLS_MD_MAX_SIZE]; in ssl_tls13_calc_finished_core()
719 unsigned char binder_key[MBEDTLS_MD_MAX_SIZE]; in mbedtls_ssl_tls13_create_psk_binder()
720 unsigned char early_secret[MBEDTLS_MD_MAX_SIZE]; in mbedtls_ssl_tls13_create_psk_binder()
Dssl_tls13_keys.h76 MBEDTLS_MD_MAX_SIZE
Dmd.c628 unsigned char sum[MBEDTLS_MD_MAX_SIZE]; in mbedtls_md_hmac_starts()
683 unsigned char tmp[MBEDTLS_MD_MAX_SIZE]; in mbedtls_md_hmac_finish()
Dpkcs12.c222 unsigned char hash_output[MBEDTLS_MD_MAX_SIZE]; in mbedtls_pkcs12_derivation()
Drsa.c1104 unsigned char mask[MBEDTLS_MD_MAX_SIZE]; in mgf_mask()
1111 memset( mask, 0, MBEDTLS_MD_MAX_SIZE ); in mgf_mask()
1336 unsigned char lhash[MBEDTLS_MD_MAX_SIZE]; in mbedtls_rsa_rsaes_oaep_decrypt()
1962 unsigned char result[MBEDTLS_MD_MAX_SIZE]; in mbedtls_rsa_rsassa_pss_verify_ext()
Dhmac_drbg.c69 unsigned char K[MBEDTLS_MD_MAX_SIZE]; in mbedtls_hmac_drbg_update()
Dconstant_time.c471 unsigned char aux_out[MBEDTLS_MD_MAX_SIZE]; in mbedtls_ct_hmac()
Dssl_tls13_generic.c321 unsigned char verify_hash[MBEDTLS_MD_MAX_SIZE]; in ssl_tls13_parse_certificate_verify()
Decjpake.c213 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in ecjpake_hash()
Dx509_crt.c2339 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in x509_crt_verifycrl()
2424 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in x509_crt_check_signature()
/third_party/mbedtls/include/mbedtls/
Dmd.h71 #define MBEDTLS_MD_MAX_SIZE 64 /* longest known is SHA512 */ macro
73 #define MBEDTLS_MD_MAX_SIZE 32 /* longest known is SHA256 or less */ macro
Dhmac_drbg.h91 unsigned char MBEDTLS_PRIVATE(V)[MBEDTLS_MD_MAX_SIZE]; /*!< V in the spec */
Dssl.h608 #define MBEDTLS_TLS1_3_MD_MAX_SIZE MBEDTLS_MD_MAX_SIZE
/third_party/mbedtls/tests/suites/
Dtest_suite_pkcs1_v21.function125 unsigned char hash_result[MBEDTLS_MD_MAX_SIZE];
195 unsigned char hash_result[MBEDTLS_MD_MAX_SIZE];
234 unsigned char hash_result[MBEDTLS_MD_MAX_SIZE];
Dtest_suite_ecdsa.function17 unsigned char buf[MBEDTLS_MD_MAX_SIZE];
49 unsigned char buf[MBEDTLS_MD_MAX_SIZE];
150 unsigned char hash[MBEDTLS_MD_MAX_SIZE];
380 unsigned char hash[MBEDTLS_MD_MAX_SIZE];
Dtest_suite_hkdf.function116 prk = mbedtls_calloc( MBEDTLS_MD_MAX_SIZE, 1 );
Dtest_suite_pk.function385 unsigned char hash_result[MBEDTLS_MD_MAX_SIZE];
400 memset( hash_result, 0x00, MBEDTLS_MD_MAX_SIZE );
434 unsigned char hash_result[MBEDTLS_MD_MAX_SIZE];
525 unsigned char hash[MBEDTLS_MD_MAX_SIZE];
Dtest_suite_pkcs1_v15.function271 unsigned char hash_result[MBEDTLS_MD_MAX_SIZE];
329 unsigned char hash_result[MBEDTLS_MD_MAX_SIZE];
Dtest_suite_x509write.function35 unsigned char hash[MBEDTLS_MD_MAX_SIZE];
Dtest_suite_rsa.function86 unsigned char hash_result[MBEDTLS_MD_MAX_SIZE];
140 unsigned char hash_result[MBEDTLS_MD_MAX_SIZE];
Dtest_suite_ssl.function3488 unsigned char mac[MBEDTLS_MD_MAX_SIZE];
3924 unsigned char binder[ MBEDTLS_MD_MAX_SIZE ];
4051 unsigned char secret_new[ MBEDTLS_MD_MAX_SIZE ];
4665 unsigned char ref_out[MBEDTLS_MD_MAX_SIZE];
/third_party/mbedtls/programs/aes/
Dcrypt_and_hash.c92 unsigned char digest[MBEDTLS_MD_MAX_SIZE]; in main()

12