Searched refs:hash_alg (Results 1 - 20 of 20) sorted by relevance

/external/chromium/crypto/
H A Dhmac.h30 explicit HMAC(HashAlgorithm hash_alg);
H A Dhmac_mac.cc17 HMAC::HMAC(HashAlgorithm hash_alg) argument
18 : hash_alg_(hash_alg), plat_(new HMACPlatformData()) {
H A Dhmac_openssl.cc23 HMAC::HMAC(HashAlgorithm hash_alg) argument
24 : hash_alg_(hash_alg), plat_(new HMACPlatformData()) {
H A Dhmac_nss.cc23 HMAC::HMAC(HashAlgorithm hash_alg) argument
24 : hash_alg_(hash_alg), plat_(new HMACPlatformData()) {
H A Dhmac_win.cc92 HMAC::HMAC(HashAlgorithm hash_alg) argument
93 : hash_alg_(hash_alg), plat_(new HMACPlatformData()) {
H A Dsymmetric_key_win.cc207 // and |key|. The inner hash function will be |hash_alg|. If successful,
212 ALG_ID hash_alg,
221 hmac_info.HashAlgid = hash_alg;
210 CreateHMACHash(HCRYPTPROV provider, HCRYPTKEY key, ALG_ID hash_alg, ScopedHCRYPTHASH* hash) argument
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
H A Dtlsv1_record.c50 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_MD5;
53 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_SHA1;
176 hmac = crypto_hash_init(rl->hash_alg, rl->write_mac_secret,
368 hmac = crypto_hash_init(rl->hash_alg, rl->read_mac_secret,
H A Dtlsv1_record.h49 enum crypto_hash_alg hash_alg; member in struct:tlsv1_record_layer
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dtlsv1_record.h45 enum crypto_hash_alg hash_alg; member in struct:tlsv1_record_layer
H A Dtlsv1_record.c45 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_MD5;
48 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_SHA1;
51 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_SHA256;
207 hmac = crypto_hash_init(rl->hash_alg, rl->write_mac_secret,
436 hmac = crypto_hash_init(rl->hash_alg, rl->read_mac_secret,
/external/wpa_supplicant_8/src/tls/
H A Dtlsv1_record.h45 enum crypto_hash_alg hash_alg; member in struct:tlsv1_record_layer
H A Dtlsv1_record.c45 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_MD5;
48 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_SHA1;
51 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_SHA256;
207 hmac = crypto_hash_init(rl->hash_alg, rl->write_mac_secret,
436 hmac = crypto_hash_init(rl->hash_alg, rl->read_mac_secret,
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dtlsv1_record.h45 enum crypto_hash_alg hash_alg; member in struct:tlsv1_record_layer
H A Dtlsv1_record.c45 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_MD5;
48 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_SHA1;
51 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_SHA256;
207 hmac = crypto_hash_init(rl->hash_alg, rl->write_mac_secret,
436 hmac = crypto_hash_init(rl->hash_alg, rl->read_mac_secret,
/external/e2fsprogs/debugfs/
H A Dhtree.c45 int hash_alg; local
63 hash_alg = rootnode->hash_version;
64 if ((hash_alg <= EXT2_HASH_TEA) &&
66 hash_alg += 3;
88 errcode = ext2fs_dirhash(hash_alg, name,
326 com_err(argv[0], 0, "usage: dx_hash [-h hash_alg] "
/external/e2fsprogs/e2fsck/
H A Drehash.c92 int hash_alg; local
112 hash_alg = fs->super->s_def_hash_version;
113 if ((hash_alg <= EXT2_HASH_TEA) &&
115 hash_alg += 3;
156 fd->err = ext2fs_dirhash(hash_alg, dirent->name,
340 int hash_alg; local
345 hash_alg = fs->super->s_def_hash_version;
346 if ((hash_alg <= EXT2_HASH_TEA) &&
348 hash_alg += 3;
386 ext2fs_dirhash(hash_alg, en
[all...]
/external/e2fsprogs/misc/
H A Dtune2fs.c903 int len, hash_alg; local
963 } else if (strcmp(token, "hash_alg") == 0 ||
969 hash_alg = e2p_string2hash(arg);
970 if (hash_alg < 0) {
977 fs->super->s_def_hash_version = hash_alg;
980 arg, hash_alg);
H A Dmke2fs.c2085 int val, hash_alg; local
2172 hash_alg_str = get_string_from_profile(fs_types, "hash_alg",
2174 hash_alg = e2p_string2hash(hash_alg_str);
2176 fs->super->s_def_hash_version = (hash_alg >= 0) ? hash_alg :
/external/openssl/ssl/
H A Dt1_lib.c2318 const EVP_MD *tls12_get_hash(unsigned char hash_alg) argument
2320 switch(hash_alg)
2375 unsigned char hash_alg = data[i], sig_alg = data[i+1]; local
2400 md = tls12_get_hash(hash_alg);
H A Dssl_locl.h1113 const EVP_MD *tls12_get_hash(unsigned char hash_alg);

Completed in 407 milliseconds