Home
last modified time | relevance | path

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

/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()
155 fd->err = ext2fs_dirhash(hash_alg, dirent->name, in fill_dir_block()
341 int hash_alg; in duplicate_search_and_fix() local
346 hash_alg = fs->super->s_def_hash_version; in duplicate_search_and_fix()
347 if ((hash_alg <= EXT2_HASH_TEA) && in duplicate_search_and_fix()
349 hash_alg += 3; in duplicate_search_and_fix()
387 ext2fs_dirhash(hash_alg, ent->dir->name, in duplicate_search_and_fix()
/external/e2fsprogs/debugfs/
Dhtree.c42 int hash_alg; in htree_dump_leaf_node() local
57 hash_alg = rootnode->hash_version; in htree_dump_leaf_node()
58 if ((hash_alg <= EXT2_HASH_TEA) && in htree_dump_leaf_node()
60 hash_alg += 3; in htree_dump_leaf_node()
75 errcode = ext2fs_dirhash(hash_alg, name, in htree_dump_leaf_node()
/external/chromium/base/
Dhmac_mac.cc17 HMAC::HMAC(HashAlgorithm hash_alg) in HMAC() argument
18 : hash_alg_(hash_alg), plat_(new HMACPlatformData()) { in HMAC()
Dhmac_nss.cc45 HMAC::HMAC(HashAlgorithm hash_alg) in HMAC() argument
46 : hash_alg_(hash_alg), plat_(new HMACPlatformData()) { in HMAC()
Dhmac_win.cc24 HMAC::HMAC(HashAlgorithm hash_alg) in HMAC() argument
25 : hash_alg_(hash_alg), plat_(new HMACPlatformData()) { in HMAC()
Dhmac.h28 explicit HMAC(HashAlgorithm hash_alg);
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dtlsv1_record.c50 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_MD5; in tlsv1_record_set_cipher_suite()
53 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_SHA1; in tlsv1_record_set_cipher_suite()
176 hmac = crypto_hash_init(rl->hash_alg, rl->write_mac_secret, in tlsv1_record_send()
368 hmac = crypto_hash_init(rl->hash_alg, rl->read_mac_secret, in tlsv1_record_receive()
Dtlsv1_record.h49 enum crypto_hash_alg hash_alg; member
/external/wpa_supplicant/
Dtlsv1_common.c194 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_MD5; in tlsv1_record_set_cipher_suite()
197 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_SHA1; in tlsv1_record_set_cipher_suite()
320 hmac = crypto_hash_init(rl->hash_alg, rl->write_mac_secret, in tlsv1_record_send()
511 hmac = crypto_hash_init(rl->hash_alg, rl->read_mac_secret, in tlsv1_record_receive()
Dtlsv1_common.h206 enum crypto_hash_alg hash_alg; member