Home
last modified time | relevance | path

Searched refs:hash_alg (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/crypto/
Dsignature_verifier_openssl.cc21 const EVP_MD* ToOpenSSLDigest(SignatureVerifier::HashAlgorithm hash_alg) { in ToOpenSSLDigest() argument
22 switch (hash_alg) { in ToOpenSSLDigest()
74 bool SignatureVerifier::VerifyInitRSAPSS(HashAlgorithm hash_alg, in VerifyInitRSAPSS() argument
82 const EVP_MD* digest = ToOpenSSLDigest(hash_alg); in VerifyInitRSAPSS()
Dsignature_verifier_nss.cc22 HASH_HashType ToNSSHashType(SignatureVerifier::HashAlgorithm hash_alg) { in ToNSSHashType() argument
23 switch (hash_alg) { in ToNSSHashType()
138 bool SignatureVerifier::VerifyInitRSAPSS(HashAlgorithm hash_alg, in VerifyInitRSAPSS() argument
156 hash_alg_ = hash_alg; in VerifyInitRSAPSS()
Dhmac_openssl.cc23 HMAC::HMAC(HashAlgorithm hash_alg) in HMAC() argument
24 : hash_alg_(hash_alg), plat_(new HMACPlatformData()) { in HMAC()
Dhmac_nss.cc23 HMAC::HMAC(HashAlgorithm hash_alg) in HMAC() argument
24 : hash_alg_(hash_alg), plat_(new HMACPlatformData()) { in HMAC()
Dhmac_win.cc106 HMAC::HMAC(HashAlgorithm hash_alg) in HMAC() argument
107 : hash_alg_(hash_alg), plat_(new HMACPlatformData()) { in HMAC()
Dhmac.h31 explicit HMAC(HashAlgorithm hash_alg);
Dsignature_verifier.h85 bool VerifyInitRSAPSS(HashAlgorithm hash_alg,
Dsymmetric_key_win.cc212 ALG_ID hash_alg, in CreateHMACHash() argument
221 hmac_info.HashAlgid = hash_alg; in CreateHMACHash()
/external/chromium_org/net/cert/
Dct_log_verifier_openssl.cc101 const EVP_MD* hash_alg = GetEvpAlg(hash_algorithm_); in VerifySignature() local
102 if (hash_alg == NULL) in VerifySignature()
109 1 == EVP_DigestVerifyInit(&ctx, NULL, hash_alg, NULL, public_key_) && in VerifySignature()
Dct_objects_extractor_nss.cc413 SECOidTag hash_alg = SECOID_FindOIDTag(&cert_id.hash_algorithm.algorithm); in CertIDMatches() local
414 switch (hash_alg) { in CertIDMatches()
/external/wpa_supplicant_8/src/tls/
Dtlsv1_record.c45 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_MD5; in tlsv1_record_set_cipher_suite()
48 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_SHA1; in tlsv1_record_set_cipher_suite()
51 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_SHA256; in tlsv1_record_set_cipher_suite()
207 hmac = crypto_hash_init(rl->hash_alg, rl->write_mac_secret, in tlsv1_record_send()
436 hmac = crypto_hash_init(rl->hash_alg, rl->read_mac_secret, in tlsv1_record_receive()
Dpkcs1.c198 const struct asn1_oid *hash_alg, in pkcs1_v15_sig_ver() argument
273 if (!asn1_oid_equal(&oid, hash_alg)) { in pkcs1_v15_sig_ver()
276 asn1_oid_to_str(hash_alg, txt2, sizeof(txt2)); in pkcs1_v15_sig_ver()
Dpkcs1.h26 const struct asn1_oid *hash_alg,
Dtlsv1_record.h45 enum crypto_hash_alg hash_alg; member
/external/e2fsprogs/debugfs/
Dhtree.c45 int hash_alg; in htree_dump_leaf_node() local
62 hash_alg = rootnode->hash_version; in htree_dump_leaf_node()
63 if ((hash_alg <= EXT2_HASH_TEA) && in htree_dump_leaf_node()
65 hash_alg += 3; in htree_dump_leaf_node()
87 errcode = ext2fs_dirhash(hash_alg, name, in htree_dump_leaf_node()
/external/e2fsprogs/e2fsck/
Drehash.c92 int hash_alg; in fill_dir_block() local
112 hash_alg = fs->super->s_def_hash_version; in fill_dir_block()
113 if ((hash_alg <= EXT2_HASH_TEA) && in fill_dir_block()
115 hash_alg += 3; in fill_dir_block()
156 fd->err = ext2fs_dirhash(hash_alg, dirent->name, in fill_dir_block()
340 int hash_alg; in duplicate_search_and_fix() local
345 hash_alg = fs->super->s_def_hash_version; in duplicate_search_and_fix()
346 if ((hash_alg <= EXT2_HASH_TEA) && in duplicate_search_and_fix()
348 hash_alg += 3; in duplicate_search_and_fix()
386 ext2fs_dirhash(hash_alg, ent->dir->name, in duplicate_search_and_fix()
/external/chromium_org/net/quic/crypto/
Dproof_verifier_chromium.cc314 crypto::SignatureVerifier::HashAlgorithm hash_alg = in VerifySignature() local
316 crypto::SignatureVerifier::HashAlgorithm mask_hash_alg = hash_alg; in VerifySignature()
320 hash_alg, mask_hash_alg, hash_len, in VerifySignature()
/external/chromium_org/third_party/openssl/patches.chromium/
D0009-stricter_cutthrough.patch64 @@ -1160,6 +1160,8 @@ const EVP_MD *tls12_get_hash(unsigned char hash_alg);
D0014-new_channelid.patch119 + const EVP_MD *tls12_get_hash(unsigned char hash_alg);
358 const EVP_MD *tls12_get_hash(unsigned char hash_alg);
/external/e2fsprogs/misc/
Dtune2fs.c1152 int len, hash_alg; in parse_extended_opts() local
1251 hash_alg = e2p_string2hash(arg); in parse_extended_opts()
1252 if (hash_alg < 0) { in parse_extended_opts()
1259 fs->super->s_def_hash_version = hash_alg; in parse_extended_opts()
1262 arg, hash_alg); in parse_extended_opts()
Dmke2fs.c2370 int val, hash_alg; in main() local
2482 hash_alg = e2p_string2hash(hash_alg_str); in main()
2484 fs->super->s_def_hash_version = (hash_alg >= 0) ? hash_alg : in main()
/external/openssl/patches/
D0007-tls12_digests.patch277 @@ -2403,47 +2396,49 @@ const EVP_MD *tls12_get_hash(unsigned char hash_alg)
374 md = tls12_get_hash(hash_alg);
/external/chromium_org/third_party/openssl/openssl/ssl/
Dt1_lib.c2406 const EVP_MD *tls12_get_hash(unsigned char hash_alg) in tls12_get_hash() argument
2408 switch(hash_alg) in tls12_get_hash()
2463 unsigned char hash_alg = data[i], sig_alg = data[i+1]; in tls1_process_sigalgs() local
2488 md = tls12_get_hash(hash_alg); in tls1_process_sigalgs()
/external/openssl/ssl/
Dt1_lib.c2679 const EVP_MD *tls12_get_hash(unsigned char hash_alg) in tls12_get_hash() argument
2681 switch(hash_alg) in tls12_get_hash()
2730 unsigned char hash_alg = data[i], sig_alg = data[i+1]; in tls1_process_sigalgs() local
2755 md = tls12_get_hash(hash_alg); in tls1_process_sigalgs()
/external/chromium_org/third_party/openssl/openssl/patches/
Dnew_channelid.patch86 const EVP_MD *tls12_get_hash(unsigned char hash_alg);

12