/mbedtls-development/library/ |
A D | ssl_tls13_keys.c | 353 mbedtls_md_type_t md_type, in mbedtls_ssl_tls1_3_derive_early_secrets() argument 382 ret = mbedtls_ssl_tls1_3_derive_secret( md_type, in mbedtls_ssl_tls1_3_derive_early_secrets() 407 mbedtls_md_type_t md_type, in mbedtls_ssl_tls1_3_derive_handshake_secrets() argument 469 mbedtls_md_type_t md_type, in mbedtls_ssl_tls1_3_derive_application_secrets() argument 539 mbedtls_md_type_t md_type, in mbedtls_ssl_tls1_3_derive_resumption_master_secret() argument 908 mbedtls_md_type_t md_type; in mbedtls_ssl_tls1_3_key_schedule_stage_early() local 917 md_type = handshake->ciphersuite_info->mac; in mbedtls_ssl_tls1_3_key_schedule_stage_early() 937 mbedtls_md_type_t md_type; in mbedtls_ssl_tls13_generate_handshake_keys() local 957 md_type = ciphersuite_info->mac; in mbedtls_ssl_tls13_generate_handshake_keys() 1130 mbedtls_md_type_t md_type; in mbedtls_ssl_tls13_generate_application_keys() local [all …]
|
A D | ssl_tls13_keys.h | 249 mbedtls_md_type_t md_type, 294 mbedtls_md_type_t md_type, 344 mbedtls_md_type_t md_type, 374 mbedtls_md_type_t md_type, 479 const mbedtls_md_type_t md_type,
|
A D | pkcs12.c | 80 static int pkcs12_pbe_derive_key_iv( mbedtls_asn1_buf *pbe_params, mbedtls_md_type_t md_type, in pkcs12_pbe_derive_key_iv() argument 104 salt.p, salt.len, md_type, in pkcs12_pbe_derive_key_iv() 114 salt.p, salt.len, md_type, in pkcs12_pbe_derive_key_iv() 125 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type, in mbedtls_pkcs12_pbe() argument 143 if( ( ret = pkcs12_pbe_derive_key_iv( pbe_params, md_type, pwd, pwdlen, in mbedtls_pkcs12_pbe() 201 mbedtls_md_type_t md_type, int id, int iterations ) in mbedtls_pkcs12_derivation() argument 221 md_info = mbedtls_md_info_from_type( md_type ); in mbedtls_pkcs12_derivation()
|
A D | pkcs5.c | 55 int *keylen, mbedtls_md_type_t *md_type ) in pkcs5_parse_pbkdf2_params() argument 99 if( mbedtls_oid_get_md_hmac( &prf_alg_oid, md_type ) != 0 ) in pkcs5_parse_pbkdf2_params() 118 mbedtls_md_type_t md_type = MBEDTLS_MD_SHA1; in mbedtls_pkcs5_pbes2() local 151 &md_type ) ) != 0 ) in mbedtls_pkcs5_pbes2() 156 md_info = mbedtls_md_info_from_type( md_type ); in mbedtls_pkcs5_pbes2()
|
A D | md.c | 193 const mbedtls_md_info_t *mbedtls_md_info_from_type( mbedtls_md_type_t md_type ) in mbedtls_md_info_from_type() argument 195 switch( md_type ) in mbedtls_md_info_from_type()
|
A D | ssl_tls.c | 383 static int tls_prf_generic( mbedtls_md_type_t md_type, in tls_prf_generic() argument 395 if( md_type == MBEDTLS_MD_SHA384 ) in tls_prf_generic() 457 static int tls_prf_generic( mbedtls_md_type_t md_type, in tls_prf_generic() argument 474 if( ( md_info = mbedtls_md_info_from_type( md_type ) ) == NULL ) in tls_prf_generic()
|
/mbedtls-development/tests/suites/ |
A D | test_suite_x509write.function | 79 void x509_csr_check( char * key_file, char * cert_req_check_file, int md_type, 101 mbedtls_x509write_csr_set_md_alg( &req, md_type ); 147 void x509_csr_check_opaque( char *key_file, int md_type, int key_usage, 163 md_alg_psa = mbedtls_psa_translate_md( (mbedtls_md_type_t) md_type ); 172 mbedtls_x509write_csr_set_md_alg( &req, md_type ); 203 int md_type, int key_usage, int set_key_usage, 259 mbedtls_x509write_crt_set_md_alg( &crt, md_type );
|
A D | test_suite_md.function | 106 void md_info( int md_type, char * md_name, int md_size ) 112 md_info = mbedtls_md_info_from_type( md_type ); 116 TEST_ASSERT( mbedtls_md_get_type( md_info ) == (mbedtls_md_type_t) md_type ); 122 if( *md_type_ptr == md_type )
|
A D | test_suite_random.function | 61 void random_twice_with_hmac_drbg( int md_type ) 67 const mbedtls_md_info_t *md_info = mbedtls_md_info_from_type( md_type );
|
A D | test_suite_ssl.function | 3807 mbedtls_md_type_t md_type = (mbedtls_md_type_t) hash_alg; 3808 mbedtls_md_info_t const * const md_info = mbedtls_md_info_from_type( md_type ); 3817 md_type, secret->x, transcript->x, transcript->len, 3837 mbedtls_md_type_t md_type = (mbedtls_md_type_t) hash_alg; 3847 md_type, secret->x, transcript->x, transcript->len, 3868 mbedtls_md_type_t md_type = (mbedtls_md_type_t) hash_alg; 3879 md_type, secret->x, transcript->x, transcript->len, 3900 mbedtls_md_type_t md_type = (mbedtls_md_type_t) hash_alg; 3909 md_type, secret->x, transcript->x, transcript->len, 3927 mbedtls_md_type_t md_type = (mbedtls_md_type_t) hash_alg; [all …]
|
/mbedtls-development/programs/ssl/ |
A D | ssl_test_lib.c | 126 const mbedtls_md_type_t md_type = MBEDTLS_MD_SHA256; in rng_seed() local 128 const mbedtls_md_type_t md_type = MBEDTLS_MD_SHA512; in rng_seed() local 133 mbedtls_md_info_from_type( md_type ), in rng_seed()
|
/mbedtls-development/include/mbedtls/ |
A D | pkcs12.h | 72 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type,
|
A D | md.h | 137 const mbedtls_md_info_t *mbedtls_md_info_from_type( mbedtls_md_type_t md_type );
|