Home
last modified time | relevance | path

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

/fs/ubifs/
Dauth.c49 return crypto_shash_tfm_digest(c->hmac_tfm, hash, c->hash_len, hmac); in ubifs_hash_calc_hmac()
140 int len = min(c->hash_len, 20); in ubifs_bad_hash()
141 int cropped = len != c->hash_len; in ubifs_bad_hash()
310 c->hash_len = crypto_shash_digestsize(c->hash_tfm); in ubifs_init_authentication()
311 if (c->hash_len > UBIFS_HASH_ARR_SZ) { in ubifs_init_authentication()
313 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.h1372 int hash_len; member
1608 return crypto_memneq(expected, got, c->hash_len); in ubifs_check_hash()
1679 memcpy(to, from, c->hash_len); in ubifs_copy_hash()
Dreplay.c616 c->hash_len, hmac); in authenticate_sleb()
/fs/smb/client/
Dcifsencrypt.c642 unsigned int hash_len; in CalcNTLMv2_response() local
645 hash_len = ses->auth_key.len - (CIFS_SESS_KEY_SIZE + in CalcNTLMv2_response()
674 ntlmv2->challenge.key, hash_len); in CalcNTLMv2_response()
/fs/
Ddcache.c1914 q.hash_len = hashlen_string(parent, name); in d_alloc_name()
2288 u64 hashlen = name->hash_len; in __d_lookup_rcu_op_compare()
2354 u64 hashlen = name->hash_len; in __d_lookup_rcu()
2408 if (dentry->d_name.hash_len != hashlen) in __d_lookup_rcu()
2913 swap(dentry->d_name.hash_len, target->d_name.hash_len); in swap_names()
2928 dentry->d_name.hash_len = target->d_name.hash_len; in copy_name()
Dnamei.c2267 u64 hash_len; in link_path_walk() local
2275 hash_len = hash_name(nd->path.dentry, name); in link_path_walk()
2278 if (name[0] == '.') switch (hashlen_len(hash_len)) { in link_path_walk()
2292 struct qstr this = { { .hash_len = hash_len }, .name = name }; in link_path_walk()
2296 hash_len = this.hash_len; in link_path_walk()
2301 nd->last.hash_len = hash_len; in link_path_walk()
2305 name += hashlen_len(hash_len); in link_path_walk()
/fs/exfat/
Dnamei.c753 WARN_ON(alias->d_name.hash_len != in exfat_lookup()
754 dentry->d_name.hash_len); in exfat_lookup()