Home
last modified time | relevance | path

Searched refs:md_type (Results 1 – 13 of 13) sorted by relevance

/openthread-3.5.0/third_party/mbedtls/repo/library/
Dpkcs12.c84 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
108 salt.p, salt.len, md_type, in pkcs12_pbe_derive_key_iv()
118 salt.p, salt.len, md_type, in pkcs12_pbe_derive_key_iv()
170 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type, in mbedtls_pkcs12_pbe() argument
191 if( ( ret = pkcs12_pbe_derive_key_iv( pbe_params, md_type, pwd, pwdlen, in mbedtls_pkcs12_pbe()
260 mbedtls_md_type_t md_type, int id, int iterations ) in mbedtls_pkcs12_derivation() argument
291 md_info = mbedtls_md_info_from_type( md_type ); in mbedtls_pkcs12_derivation()
Dpkcs5.c55 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()
Dmd.c222 const mbedtls_md_info_t *mbedtls_md_info_from_type( mbedtls_md_type_t md_type ) in mbedtls_md_info_from_type() argument
224 switch( md_type ) in mbedtls_md_info_from_type()
Dssl_tls.c608 static int tls_prf_generic( mbedtls_md_type_t md_type, in tls_prf_generic() argument
620 if( md_type == MBEDTLS_MD_SHA384 ) in tls_prf_generic()
682 static int tls_prf_generic( mbedtls_md_type_t md_type, in tls_prf_generic() argument
699 if( ( md_info = mbedtls_md_info_from_type( md_type ) ) == NULL ) in tls_prf_generic()
Decp.c178 const mbedtls_md_type_t md_type = mbedtls_md_list()[0]; in ecp_drbg_seed() local
179 const mbedtls_md_info_t *md_info = mbedtls_md_info_from_type( md_type ); in ecp_drbg_seed()
Dssl_msg.c487 int md_type = mbedtls_md_get_type( md_ctx->md_info ); in ssl_mac() local
491 if( md_type == MBEDTLS_MD_MD5 ) in ssl_mac()
/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_pkcs12.function19 void pkcs12_derive_key( int md_type, int key_size_arg,
53 md_type,
Dtest_suite_x509write.function79 void x509_csr_check( char * key_file, char * cert_req_check_file, int md_type,
100 mbedtls_x509write_csr_set_md_alg( &req, md_type );
146 void x509_csr_check_opaque( char *key_file, int md_type, int key_usage,
162 md_alg_psa = mbedtls_psa_translate_md( (mbedtls_md_type_t) md_type );
170 mbedtls_x509write_csr_set_md_alg( &req, md_type );
201 int md_type, int key_usage, int set_key_usage,
257 mbedtls_x509write_crt_set_md_alg( &crt, md_type );
Dtest_suite_md.function106 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 )
Dtest_suite_random.function61 void random_twice_with_hmac_drbg( int md_type )
67 const mbedtls_md_info_t *md_info = mbedtls_md_info_from_type( md_type );
/openthread-3.5.0/third_party/mbedtls/repo/programs/ssl/
Dssl_test_lib.c124 const mbedtls_md_type_t md_type = MBEDTLS_MD_SHA256; in rng_seed() local
126 const mbedtls_md_type_t md_type = MBEDTLS_MD_SHA512; in rng_seed() local
131 mbedtls_md_info_from_type( md_type ), in rng_seed()
/openthread-3.5.0/third_party/mbedtls/repo/include/mbedtls/
Dpkcs12.h97 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type,
Dmd.h140 const mbedtls_md_info_t *mbedtls_md_info_from_type( mbedtls_md_type_t md_type );