Home
last modified time | relevance | path

Searched refs:hash_len (Results 1 – 8 of 8) sorted by relevance

/fs/ubifs/
Dauth.c50 return crypto_shash_tfm_digest(c->hmac_tfm, hash, c->hash_len, hmac); in ubifs_hash_calc_hmac()
141 int len = min(c->hash_len, 20); in ubifs_bad_hash()
142 int cropped = len != c->hash_len; in ubifs_bad_hash()
311 c->hash_len = crypto_shash_digestsize(c->hash_tfm); in ubifs_init_authentication()
312 if (c->hash_len > UBIFS_HASH_ARR_SZ) { in ubifs_init_authentication()
314 c->auth_hash_name, c->hash_len, UBIFS_HASH_ARR_SZ); in ubifs_init_authentication()
Dmisc.h188 return UBIFS_IDX_NODE_SZ + (UBIFS_BRANCH_SZ + c->key_len + c->hash_len) in ubifs_idx_node_sz()
204 (UBIFS_BRANCH_SZ + c->key_len + c->hash_len) * bnum); in ubifs_idx_branch()
Dubifs.h1344 int hash_len; member
1579 return crypto_memneq(expected, got, c->hash_len); in ubifs_check_hash()
1650 memcpy(to, from, c->hash_len); in ubifs_copy_hash()
Dreplay.c616 c->hash_len, hmac); in authenticate_sleb()
/fs/cifs/
Dcifsencrypt.c606 unsigned int hash_len; in CalcNTLMv2_response() local
609 hash_len = ses->auth_key.len - (CIFS_SESS_KEY_SIZE + in CalcNTLMv2_response()
638 ntlmv2->challenge.key, hash_len); in CalcNTLMv2_response()
/fs/
Ddcache.c1850 q.hash_len = hashlen_string(parent, name); in d_alloc_name()
2238 u64 hashlen = name->hash_len; in __d_lookup_rcu()
2307 if (dentry->d_name.hash_len != hashlen) in __d_lookup_rcu()
2792 swap(dentry->d_name.hash_len, target->d_name.hash_len); in swap_names()
2807 dentry->d_name.hash_len = target->d_name.hash_len; in copy_name()
Dnamei.c2214 u64 hash_len; in link_path_walk() local
2221 hash_len = hash_name(nd->path.dentry, name); in link_path_walk()
2224 if (name[0] == '.') switch (hashlen_len(hash_len)) { in link_path_walk()
2238 struct qstr this = { { .hash_len = hash_len }, .name = name }; in link_path_walk()
2242 hash_len = this.hash_len; in link_path_walk()
2247 nd->last.hash_len = hash_len; in link_path_walk()
2251 name += hashlen_len(hash_len); in link_path_walk()
/fs/exfat/
Dnamei.c752 WARN_ON(alias->d_name.hash_len != in exfat_lookup()
753 dentry->d_name.hash_len); in exfat_lookup()