/third_party/mbedtls/library/ |
D | ssl_tls13_keys.c | 353 mbedtls_md_type_t md_type, in mbedtls_ssl_tls13_derive_early_secrets() argument 359 mbedtls_md_info_t const * const md_info = mbedtls_md_info_from_type( md_type ); in mbedtls_ssl_tls13_derive_early_secrets() 382 ret = mbedtls_ssl_tls13_derive_secret( md_type, in mbedtls_ssl_tls13_derive_early_secrets() 393 ret = mbedtls_ssl_tls13_derive_secret( md_type, in mbedtls_ssl_tls13_derive_early_secrets() 407 mbedtls_md_type_t md_type, in mbedtls_ssl_tls13_derive_handshake_secrets() argument 413 mbedtls_md_info_t const * const md_info = mbedtls_md_info_from_type( md_type ); in mbedtls_ssl_tls13_derive_handshake_secrets() 440 ret = mbedtls_ssl_tls13_derive_secret( md_type, in mbedtls_ssl_tls13_derive_handshake_secrets() 455 ret = mbedtls_ssl_tls13_derive_secret( md_type, in mbedtls_ssl_tls13_derive_handshake_secrets() 469 mbedtls_md_type_t md_type, in mbedtls_ssl_tls13_derive_application_secrets() argument 475 mbedtls_md_info_t const * const md_info = mbedtls_md_info_from_type( md_type ); in mbedtls_ssl_tls13_derive_application_secrets() [all …]
|
D | ssl_tls13_keys.h | 255 mbedtls_md_type_t md_type, 300 mbedtls_md_type_t md_type, 350 mbedtls_md_type_t md_type, 380 mbedtls_md_type_t md_type, 485 const mbedtls_md_type_t md_type,
|
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 146 if( ( ret = pkcs12_pbe_derive_key_iv( pbe_params, md_type, pwd, pwdlen, in mbedtls_pkcs12_pbe() 215 mbedtls_md_type_t md_type, int id, int iterations ) in mbedtls_pkcs12_derivation() argument 246 md_info = mbedtls_md_info_from_type( md_type ); in mbedtls_pkcs12_derivation()
|
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()
|
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()
|
D | ssl_tls.c | 388 static int tls_prf_generic( mbedtls_md_type_t md_type, in tls_prf_generic() argument 400 if( md_type == MBEDTLS_MD_SHA384 ) in tls_prf_generic() 462 static int tls_prf_generic( mbedtls_md_type_t md_type, in tls_prf_generic() argument 479 if( ( md_info = mbedtls_md_info_from_type( md_type ) ) == NULL ) in tls_prf_generic()
|
/third_party/openssl/crypto/pkcs12/ |
D | p12_mutl.c | 76 const EVP_MD *md_type)) in pkcs12_gen_mac() argument 79 const EVP_MD *md_type; in pkcs12_gen_mac() local 104 if ((md_type = EVP_get_digestbyobj(macoid)) == NULL) { in pkcs12_gen_mac() 108 md_size = EVP_MD_size(md_type); in pkcs12_gen_mac() 109 md_type_nid = EVP_MD_type(md_type); in pkcs12_gen_mac() 118 md_size, key, md_type)) { in pkcs12_gen_mac() 124 iter, md_size, key, md_type)) { in pkcs12_gen_mac() 129 || !HMAC_Init_ex(hmac, key, md_size, md_type, NULL) in pkcs12_gen_mac() 177 const EVP_MD *md_type) in PKCS12_set_mac() argument 183 if (!md_type) in PKCS12_set_mac() [all …]
|
D | p12_key.c | 32 unsigned char *out, const EVP_MD *md_type) in PKCS12_key_gen_asc() argument 46 id, iter, n, out, md_type); in PKCS12_key_gen_asc() 55 unsigned char *out, const EVP_MD *md_type) in PKCS12_key_gen_utf8() argument 69 id, iter, n, out, md_type); in PKCS12_key_gen_utf8() 78 unsigned char *out, const EVP_MD *md_type) in PKCS12_key_gen_uni() argument 102 v = EVP_MD_block_size(md_type); in PKCS12_key_gen_uni() 103 u = EVP_MD_size(md_type); in PKCS12_key_gen_uni() 126 if (!EVP_DigestInit_ex(ctx, md_type, NULL) in PKCS12_key_gen_uni() 132 if (!EVP_DigestInit_ex(ctx, md_type, NULL) in PKCS12_key_gen_uni()
|
D | p12_crpt.c | 32 const EVP_MD *md_type); in PKCS12_PBE_keyivgen()
|
/third_party/openssl/include/openssl/ |
D | pkcs12.h | 162 unsigned char *out, const EVP_MD *md_type); 165 unsigned char *out, const EVP_MD *md_type); 168 unsigned char *out, const EVP_MD *md_type); 171 const EVP_MD *md_type, int en_de); 177 const EVP_MD *md_type); 179 int saltlen, const EVP_MD *md_type);
|
D | evp.h | 76 EVP_MD *EVP_MD_meth_new(int md_type, int pkey_type);
|
/third_party/mbedtls/tests/suites/ |
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 );
|
D | test_suite_pkcs12.function | 19 void pkcs12_derive_key( int md_type, int key_size_arg, 53 md_type,
|
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 )
|
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 );
|
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; 3838 mbedtls_md_info_t const * const md_info = mbedtls_md_info_from_type( md_type ); 3847 md_type, secret->x, transcript->x, transcript->len, 3868 mbedtls_md_type_t md_type = (mbedtls_md_type_t) hash_alg; 3869 mbedtls_md_info_t const * const md_info = mbedtls_md_info_from_type( md_type ); 3879 md_type, secret->x, transcript->x, transcript->len, 3900 mbedtls_md_type_t md_type = (mbedtls_md_type_t) hash_alg; [all …]
|
/third_party/mbedtls/programs/ssl/ |
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()
|
/third_party/mbedtls/include/mbedtls/ |
D | pkcs12.h | 74 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type,
|
D | md.h | 138 const mbedtls_md_info_t *mbedtls_md_info_from_type( mbedtls_md_type_t md_type );
|
/third_party/openssl/crypto/pkcs7/ |
D | pk7_doit.c | 945 int md_type; in PKCS7_signatureVerify() local 961 md_type = OBJ_obj2nid(si->digest_alg->algorithm); in PKCS7_signatureVerify() 976 if (EVP_MD_CTX_type(mdc) == md_type) in PKCS7_signatureVerify() 982 if (EVP_MD_pkey_type(EVP_MD_CTX_md(mdc)) == md_type) in PKCS7_signatureVerify() 1016 if (!EVP_VerifyInit_ex(mdc_tmp, EVP_get_digestbynid(md_type), NULL)) in PKCS7_signatureVerify()
|
/third_party/openssl/crypto/evp/ |
D | evp_lib.c | 334 EVP_MD *EVP_MD_meth_new(int md_type, int pkey_type) in EVP_MD_meth_new() argument 339 md->type = md_type; in EVP_MD_meth_new()
|
/third_party/mesa3d/src/util/ |
D | disk_cache_os.c | 477 uint32_t md_type = blob_read_uint32(&ci_blob_reader); in parse_and_validate_cache_item() local 481 if (md_type == CACHE_ITEM_TYPE_GLSL) { in parse_and_validate_cache_item()
|
/third_party/openssl/doc/man3/ |
D | EVP_MD_meth_new.pod | 21 EVP_MD *EVP_MD_meth_new(int md_type, int pkey_type);
|