/third_party/mbedtls/library/ |
D | hash_info.c | 29 mbedtls_md_type_t md_type; member 60 unsigned char mbedtls_hash_info_get_size(mbedtls_md_type_t md_type) in mbedtls_hash_info_get_size() argument 63 while (entry->md_type != MBEDTLS_MD_NONE && in mbedtls_hash_info_get_size() 64 entry->md_type != md_type) { in mbedtls_hash_info_get_size() 72 unsigned char mbedtls_hash_info_get_block_size(mbedtls_md_type_t md_type) in mbedtls_hash_info_get_block_size() argument 75 while (entry->md_type != MBEDTLS_MD_NONE && in mbedtls_hash_info_get_block_size() 76 entry->md_type != md_type) { in mbedtls_hash_info_get_block_size() 84 psa_algorithm_t mbedtls_hash_info_psa_from_md(mbedtls_md_type_t md_type) in mbedtls_hash_info_psa_from_md() argument 87 while (entry->md_type != MBEDTLS_MD_NONE && in mbedtls_hash_info_psa_from_md() 88 entry->md_type != md_type) { in mbedtls_hash_info_psa_from_md() [all …]
|
D | ecjpake.c | 65 static int mbedtls_ecjpake_compute_hash(mbedtls_md_type_t md_type, in mbedtls_ecjpake_compute_hash() argument 70 return mbedtls_md(mbedtls_md_info_from_type(md_type), in mbedtls_ecjpake_compute_hash() 73 psa_algorithm_t alg = mbedtls_psa_translate_md(md_type); in mbedtls_ecjpake_compute_hash() 89 ctx->md_type = MBEDTLS_MD_NONE; in mbedtls_ecjpake_init() 113 ctx->md_type = MBEDTLS_MD_NONE; in mbedtls_ecjpake_free() 155 ctx->md_type = hash; in mbedtls_ecjpake_setup() 187 if (ctx->md_type == MBEDTLS_MD_NONE || in mbedtls_ecjpake_check() 235 static int ecjpake_hash(const mbedtls_md_type_t md_type, in ecjpake_hash() argument 271 MBEDTLS_MPI_CHK(mbedtls_ecjpake_compute_hash(md_type, in ecjpake_hash() 276 mbedtls_hash_info_get_size(md_type))); in ecjpake_hash() [all …]
|
D | pkcs12.c | 94 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 121 salt.p, salt.len, md_type, in pkcs12_pbe_derive_key_iv() 131 salt.p, salt.len, md_type, in pkcs12_pbe_derive_key_iv() 141 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type, in mbedtls_pkcs12_pbe() argument 164 if ((ret = pkcs12_pbe_derive_key_iv(pbe_params, md_type, pwd, pwdlen, in mbedtls_pkcs12_pbe() 232 static int calculate_hashes(mbedtls_md_type_t md_type, int iterations, in calculate_hashes() argument 242 md_info = mbedtls_md_info_from_type(md_type); in calculate_hashes() 290 psa_algorithm_t alg = mbedtls_psa_translate_md(md_type); in calculate_hashes() 346 mbedtls_md_type_t md_type, int id, int iterations) in mbedtls_pkcs12_derivation() argument 377 hlen = mbedtls_hash_info_get_size(md_type); in mbedtls_pkcs12_derivation() [all …]
|
D | hash_info.h | 61 unsigned char mbedtls_hash_info_get_size(mbedtls_md_type_t md_type); 72 unsigned char mbedtls_hash_info_get_block_size(mbedtls_md_type_t md_type); 81 psa_algorithm_t mbedtls_hash_info_psa_from_md(mbedtls_md_type_t md_type);
|
/third_party/openssl/crypto/pkcs12/ |
D | p12_key.c | 21 unsigned char *out, const EVP_MD *md_type, in PKCS12_key_gen_asc_ex() argument 36 n, out, md_type, ctx, propq); in PKCS12_key_gen_asc_ex() 43 unsigned char *out, const EVP_MD *md_type) in PKCS12_key_gen_asc() argument 46 out, md_type, NULL, NULL); in PKCS12_key_gen_asc() 51 unsigned char *out, const EVP_MD *md_type, in PKCS12_key_gen_utf8_ex() argument 66 n, out, md_type, ctx, propq); in PKCS12_key_gen_utf8_ex() 73 unsigned char *out, const EVP_MD *md_type) in PKCS12_key_gen_utf8() argument 76 out, md_type, NULL, NULL); in PKCS12_key_gen_utf8() 81 unsigned char *out, const EVP_MD *md_type, in PKCS12_key_gen_uni_ex() argument 101 (char *)EVP_MD_get0_name(md_type), in PKCS12_key_gen_uni_ex() [all …]
|
D | p12_mutl.c | 82 const EVP_MD *md_type)) in pkcs12_gen_mac() argument 206 const EVP_MD *md_type) in PKCS12_set_mac() argument 212 if (md_type == NULL) in PKCS12_set_mac() 214 md_type = EVP_sha256(); in PKCS12_set_mac() 217 if (PKCS12_setup_mac(p12, iter, salt, saltlen, md_type) == PKCS12_ERROR) { in PKCS12_set_mac() 238 const EVP_MD *md_type) in PKCS12_setup_mac() argument 274 if (!X509_ALGOR_set0(macalg, OBJ_nid2obj(EVP_MD_get_type(md_type)), in PKCS12_setup_mac()
|
/third_party/node/deps/openssl/openssl/crypto/pkcs12/ |
D | p12_key.c | 21 unsigned char *out, const EVP_MD *md_type, in PKCS12_key_gen_asc_ex() argument 36 n, out, md_type, ctx, propq); in PKCS12_key_gen_asc_ex() 43 unsigned char *out, const EVP_MD *md_type) in PKCS12_key_gen_asc() argument 46 out, md_type, NULL, NULL); in PKCS12_key_gen_asc() 51 unsigned char *out, const EVP_MD *md_type, in PKCS12_key_gen_utf8_ex() argument 66 n, out, md_type, ctx, propq); in PKCS12_key_gen_utf8_ex() 73 unsigned char *out, const EVP_MD *md_type) in PKCS12_key_gen_utf8() argument 76 out, md_type, NULL, NULL); in PKCS12_key_gen_utf8() 81 unsigned char *out, const EVP_MD *md_type, in PKCS12_key_gen_uni_ex() argument 101 (char *)EVP_MD_get0_name(md_type), in PKCS12_key_gen_uni_ex() [all …]
|
D | p12_mutl.c | 82 const EVP_MD *md_type)) in pkcs12_gen_mac() argument 206 const EVP_MD *md_type) in PKCS12_set_mac() argument 212 if (md_type == NULL) in PKCS12_set_mac() 214 md_type = EVP_sha256(); in PKCS12_set_mac() 217 if (PKCS12_setup_mac(p12, iter, salt, saltlen, md_type) == PKCS12_ERROR) { in PKCS12_set_mac() 238 const EVP_MD *md_type) in PKCS12_setup_mac() argument 274 if (!X509_ALGOR_set0(macalg, OBJ_nid2obj(EVP_MD_get_type(md_type)), in PKCS12_setup_mac()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_md.function | 122 void md_info(int md_type, char *md_name, int md_size) 133 md_info = mbedtls_md_info_from_type(md_type); 139 TEST_EQUAL(mbedtls_md_get_type(md_info), (mbedtls_md_type_t) md_type); 146 if (*md_type_ptr == md_type) { 156 void md_text(int md_type, char *text_src_string, data_t *hash) 165 md_info = mbedtls_md_info_from_type(md_type); 178 void md_hex(int md_type, data_t *src_str, data_t *hash) 185 md_info = mbedtls_md_info_from_type(md_type); 199 void md_text_multi(int md_type, char *text_src_string, 217 md_info = mbedtls_md_info_from_type(md_type); [all …]
|
/third_party/node/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/ |
D | pkcs12.h | 255 unsigned char *out, const EVP_MD *md_type); 258 unsigned char *out, const EVP_MD *md_type, 262 unsigned char *out, const EVP_MD *md_type); 265 unsigned char *out, const EVP_MD *md_type, 269 unsigned char *out, const EVP_MD *md_type); 272 unsigned char *out, const EVP_MD *md_type, 277 const EVP_MD *md_type, int en_de); 280 const EVP_MD *md_type, int en_de, 287 const EVP_MD *md_type); 289 int saltlen, const EVP_MD *md_type);
|
/third_party/node/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/ |
D | pkcs12.h | 255 unsigned char *out, const EVP_MD *md_type); 258 unsigned char *out, const EVP_MD *md_type, 262 unsigned char *out, const EVP_MD *md_type); 265 unsigned char *out, const EVP_MD *md_type, 269 unsigned char *out, const EVP_MD *md_type); 272 unsigned char *out, const EVP_MD *md_type, 277 const EVP_MD *md_type, int en_de); 280 const EVP_MD *md_type, int en_de, 287 const EVP_MD *md_type); 289 int saltlen, const EVP_MD *md_type);
|
/third_party/node/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/ |
D | pkcs12.h | 255 unsigned char *out, const EVP_MD *md_type); 258 unsigned char *out, const EVP_MD *md_type, 262 unsigned char *out, const EVP_MD *md_type); 265 unsigned char *out, const EVP_MD *md_type, 269 unsigned char *out, const EVP_MD *md_type); 272 unsigned char *out, const EVP_MD *md_type, 277 const EVP_MD *md_type, int en_de); 280 const EVP_MD *md_type, int en_de, 287 const EVP_MD *md_type); 289 int saltlen, const EVP_MD *md_type);
|
/third_party/node/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/ |
D | pkcs12.h | 255 unsigned char *out, const EVP_MD *md_type); 258 unsigned char *out, const EVP_MD *md_type, 262 unsigned char *out, const EVP_MD *md_type); 265 unsigned char *out, const EVP_MD *md_type, 269 unsigned char *out, const EVP_MD *md_type); 272 unsigned char *out, const EVP_MD *md_type, 277 const EVP_MD *md_type, int en_de); 280 const EVP_MD *md_type, int en_de, 287 const EVP_MD *md_type); 289 int saltlen, const EVP_MD *md_type);
|
/third_party/node/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/ |
D | pkcs12.h | 255 unsigned char *out, const EVP_MD *md_type); 258 unsigned char *out, const EVP_MD *md_type, 262 unsigned char *out, const EVP_MD *md_type); 265 unsigned char *out, const EVP_MD *md_type, 269 unsigned char *out, const EVP_MD *md_type); 272 unsigned char *out, const EVP_MD *md_type, 277 const EVP_MD *md_type, int en_de); 280 const EVP_MD *md_type, int en_de, 287 const EVP_MD *md_type); 289 int saltlen, const EVP_MD *md_type);
|
/third_party/node/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/ |
D | pkcs12.h | 255 unsigned char *out, const EVP_MD *md_type); 258 unsigned char *out, const EVP_MD *md_type, 262 unsigned char *out, const EVP_MD *md_type); 265 unsigned char *out, const EVP_MD *md_type, 269 unsigned char *out, const EVP_MD *md_type); 272 unsigned char *out, const EVP_MD *md_type, 277 const EVP_MD *md_type, int en_de); 280 const EVP_MD *md_type, int en_de, 287 const EVP_MD *md_type); 289 int saltlen, const EVP_MD *md_type);
|
/third_party/node/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/ |
D | pkcs12.h | 255 unsigned char *out, const EVP_MD *md_type); 258 unsigned char *out, const EVP_MD *md_type, 262 unsigned char *out, const EVP_MD *md_type); 265 unsigned char *out, const EVP_MD *md_type, 269 unsigned char *out, const EVP_MD *md_type); 272 unsigned char *out, const EVP_MD *md_type, 277 const EVP_MD *md_type, int en_de); 280 const EVP_MD *md_type, int en_de, 287 const EVP_MD *md_type); 289 int saltlen, const EVP_MD *md_type);
|
/third_party/node/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/openssl/ |
D | pkcs12.h | 255 unsigned char *out, const EVP_MD *md_type); 258 unsigned char *out, const EVP_MD *md_type, 262 unsigned char *out, const EVP_MD *md_type); 265 unsigned char *out, const EVP_MD *md_type, 269 unsigned char *out, const EVP_MD *md_type); 272 unsigned char *out, const EVP_MD *md_type, 277 const EVP_MD *md_type, int en_de); 280 const EVP_MD *md_type, int en_de, 287 const EVP_MD *md_type); 289 int saltlen, const EVP_MD *md_type);
|
/third_party/node/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/ |
D | pkcs12.h | 255 unsigned char *out, const EVP_MD *md_type); 258 unsigned char *out, const EVP_MD *md_type, 262 unsigned char *out, const EVP_MD *md_type); 265 unsigned char *out, const EVP_MD *md_type, 269 unsigned char *out, const EVP_MD *md_type); 272 unsigned char *out, const EVP_MD *md_type, 277 const EVP_MD *md_type, int en_de); 280 const EVP_MD *md_type, int en_de, 287 const EVP_MD *md_type); 289 int saltlen, const EVP_MD *md_type);
|
/third_party/node/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/ |
D | pkcs12.h | 255 unsigned char *out, const EVP_MD *md_type); 258 unsigned char *out, const EVP_MD *md_type, 262 unsigned char *out, const EVP_MD *md_type); 265 unsigned char *out, const EVP_MD *md_type, 269 unsigned char *out, const EVP_MD *md_type); 272 unsigned char *out, const EVP_MD *md_type, 277 const EVP_MD *md_type, int en_de); 280 const EVP_MD *md_type, int en_de, 287 const EVP_MD *md_type); 289 int saltlen, const EVP_MD *md_type);
|
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/ |
D | pkcs12.h | 255 unsigned char *out, const EVP_MD *md_type); 258 unsigned char *out, const EVP_MD *md_type, 262 unsigned char *out, const EVP_MD *md_type); 265 unsigned char *out, const EVP_MD *md_type, 269 unsigned char *out, const EVP_MD *md_type); 272 unsigned char *out, const EVP_MD *md_type, 277 const EVP_MD *md_type, int en_de); 280 const EVP_MD *md_type, int en_de, 287 const EVP_MD *md_type); 289 int saltlen, const EVP_MD *md_type);
|
/third_party/node/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/ |
D | pkcs12.h | 255 unsigned char *out, const EVP_MD *md_type); 258 unsigned char *out, const EVP_MD *md_type, 262 unsigned char *out, const EVP_MD *md_type); 265 unsigned char *out, const EVP_MD *md_type, 269 unsigned char *out, const EVP_MD *md_type); 272 unsigned char *out, const EVP_MD *md_type, 277 const EVP_MD *md_type, int en_de); 280 const EVP_MD *md_type, int en_de, 287 const EVP_MD *md_type); 289 int saltlen, const EVP_MD *md_type);
|
/third_party/node/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/ |
D | pkcs12.h | 255 unsigned char *out, const EVP_MD *md_type); 258 unsigned char *out, const EVP_MD *md_type, 262 unsigned char *out, const EVP_MD *md_type); 265 unsigned char *out, const EVP_MD *md_type, 269 unsigned char *out, const EVP_MD *md_type); 272 unsigned char *out, const EVP_MD *md_type, 277 const EVP_MD *md_type, int en_de); 280 const EVP_MD *md_type, int en_de, 287 const EVP_MD *md_type); 289 int saltlen, const EVP_MD *md_type);
|
/third_party/node/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/ |
D | pkcs12.h | 255 unsigned char *out, const EVP_MD *md_type); 258 unsigned char *out, const EVP_MD *md_type, 262 unsigned char *out, const EVP_MD *md_type); 265 unsigned char *out, const EVP_MD *md_type, 269 unsigned char *out, const EVP_MD *md_type); 272 unsigned char *out, const EVP_MD *md_type, 277 const EVP_MD *md_type, int en_de); 280 const EVP_MD *md_type, int en_de, 287 const EVP_MD *md_type); 289 int saltlen, const EVP_MD *md_type);
|
/third_party/node/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/ |
D | pkcs12.h | 255 unsigned char *out, const EVP_MD *md_type); 258 unsigned char *out, const EVP_MD *md_type, 262 unsigned char *out, const EVP_MD *md_type); 265 unsigned char *out, const EVP_MD *md_type, 269 unsigned char *out, const EVP_MD *md_type); 272 unsigned char *out, const EVP_MD *md_type, 277 const EVP_MD *md_type, int en_de); 280 const EVP_MD *md_type, int en_de, 287 const EVP_MD *md_type); 289 int saltlen, const EVP_MD *md_type);
|
/third_party/node/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/ |
D | pkcs12.h | 255 unsigned char *out, const EVP_MD *md_type); 258 unsigned char *out, const EVP_MD *md_type, 262 unsigned char *out, const EVP_MD *md_type); 265 unsigned char *out, const EVP_MD *md_type, 269 unsigned char *out, const EVP_MD *md_type); 272 unsigned char *out, const EVP_MD *md_type, 277 const EVP_MD *md_type, int en_de); 280 const EVP_MD *md_type, int en_de, 287 const EVP_MD *md_type); 289 int saltlen, const EVP_MD *md_type);
|