Home
last modified time | relevance | path

Searched refs:hashlen (Results 1 – 6 of 6) sorted by relevance

/linux/include/linux/
H A Dstringhash.h72 #define hashlen_hash(hashlen) ((u32)(hashlen)) argument
73 #define hashlen_len(hashlen) ((u32)((hashlen) >> 32)) argument
/linux/lib/tests/
H A Dtest_hash.c183 u64 hashlen = hashlen_string(buf+i, buf+i); in test_hash_or() local
187 KUNIT_EXPECT_EQ_MSG(test, hashlen_len(hashlen), j-i, in test_hash_or()
189 i, j, hashlen_len(hashlen), j-i); in test_hash_or()
191 KUNIT_EXPECT_EQ_MSG(test, hashlen_hash(hashlen), h0, in test_hash_or()
193 i, j, hashlen_hash(hashlen), h0); in test_hash_or()
/linux/crypto/
H A Dhkdf.c79 unsigned int i, hashlen = crypto_shash_digestsize(hmac_tfm); in hkdf_expand() local
85 if (WARN_ON(okmlen > 255 * hashlen)) in hkdf_expand()
90 for (i = 0; i < okmlen; i += hashlen) { in hkdf_expand()
96 err = crypto_shash_update(desc, prev, hashlen); in hkdf_expand()
108 if (okmlen - i < hashlen) { in hkdf_expand()
/linux/drivers/crypto/inside-secure/eip93/
H A Deip93-common.h21 unsigned int hashlen, u8 *ipad, u8 *opad,
H A Deip93-common.c705 unsigned int hashlen, u8 *dest_ipad, u8 *dest_opad, in eip93_hmac_setkey() argument
758 keylen = hashlen; in eip93_hmac_setkey()
/linux/fs/
H A Ddcache.c116 static inline struct hlist_bl_head *d_hash(unsigned long hashlen) in d_hash() argument
119 runtime_const_shift_right_32(hashlen, d_hash_shift); in d_hash()
2194 u64 hashlen = name->hash_len; in __d_lookup_rcu_op_compare() local
2195 struct hlist_bl_head *b = d_hash(hashlen); in __d_lookup_rcu_op_compare()
2210 if (dentry->d_name.hash != hashlen_hash(hashlen)) in __d_lookup_rcu_op_compare()
2257 u64 hashlen = name->hash_len; in __d_lookup_rcu() local
2259 struct hlist_bl_head *b = d_hash(hashlen); in __d_lookup_rcu()
2311 if (dentry->d_name.hash_len != hashlen) in __d_lookup_rcu()
2313 if (dentry_cmp(dentry, str, hashlen_len(hashlen)) != 0) in __d_lookup_rcu()