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.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.c512 unsigned int hash_len; in CalcNTLMv2_response() local
515 hash_len = ses->auth_key.len - (CIFS_SESS_KEY_SIZE + in CalcNTLMv2_response()
544 ntlmv2->challenge.key, hash_len); in CalcNTLMv2_response()
/fs/
Ddcache.c1885 q.hash_len = hashlen_string(parent, name); in d_alloc_name()
2273 u64 hashlen = name->hash_len; in __d_lookup_rcu()
2342 if (dentry->d_name.hash_len != hashlen) in __d_lookup_rcu()
2827 swap(dentry->d_name.hash_len, target->d_name.hash_len); in swap_names()
2842 dentry->d_name.hash_len = target->d_name.hash_len; in copy_name()
Dnamei.c2241 u64 hash_len; in link_path_walk() local
2249 hash_len = hash_name(nd->path.dentry, name); in link_path_walk()
2252 if (name[0] == '.') switch (hashlen_len(hash_len)) { in link_path_walk()
2266 struct qstr this = { { .hash_len = hash_len }, .name = name }; in link_path_walk()
2270 hash_len = this.hash_len; in link_path_walk()
2275 nd->last.hash_len = hash_len; in link_path_walk()
2279 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()