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.c514 unsigned int hash_len; in CalcNTLMv2_response() local
517 hash_len = ses->auth_key.len - (CIFS_SESS_KEY_SIZE + in CalcNTLMv2_response()
546 ntlmv2->challenge.key, hash_len); in CalcNTLMv2_response()
/fs/
Ddcache.c1911 q.hash_len = hashlen_string(parent, name); in d_alloc_name()
2283 u64 hashlen = name->hash_len; in __d_lookup_rcu_op_compare()
2349 u64 hashlen = name->hash_len; in __d_lookup_rcu()
2403 if (dentry->d_name.hash_len != hashlen) in __d_lookup_rcu()
2908 swap(dentry->d_name.hash_len, target->d_name.hash_len); in swap_names()
2923 dentry->d_name.hash_len = target->d_name.hash_len; in copy_name()
Dnamei.c2262 u64 hash_len; in link_path_walk() local
2270 hash_len = hash_name(nd->path.dentry, name); in link_path_walk()
2273 if (name[0] == '.') switch (hashlen_len(hash_len)) { in link_path_walk()
2287 struct qstr this = { { .hash_len = hash_len }, .name = name }; in link_path_walk()
2291 hash_len = this.hash_len; in link_path_walk()
2296 nd->last.hash_len = hash_len; in link_path_walk()
2300 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()