Home
last modified time | relevance | path

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

/fs/ubifs/
Dauth.c61 err = crypto_shash_digest(shash, hash, c->hash_len, hmac); in ubifs_hash_calc_hmac()
164 int len = min(c->hash_len, 20); in ubifs_bad_hash()
165 int cropped = len != c->hash_len; in ubifs_bad_hash()
334 c->hash_len = crypto_shash_digestsize(c->hash_tfm); in ubifs_init_authentication()
335 if (c->hash_len > UBIFS_HASH_ARR_SZ) { in ubifs_init_authentication()
337 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.h1342 int hash_len; member
1576 return crypto_memneq(expected, got, c->hash_len); in ubifs_check_hash()
1642 memcpy(to, from, c->hash_len); in ubifs_copy_hash()
Dreplay.c578 return crypto_shash_digest(hmac_desc, hash, c->hash_len, hmac); in authenticate_sleb_hmac()
/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.c1828 q.hash_len = hashlen_string(parent, name); in d_alloc_name()
2216 u64 hashlen = name->hash_len; in __d_lookup_rcu()
2285 if (dentry->d_name.hash_len != hashlen) in __d_lookup_rcu()
2770 swap(dentry->d_name.hash_len, target->d_name.hash_len); in swap_names()
2785 dentry->d_name.hash_len = target->d_name.hash_len; in copy_name()
Dnamei.c2166 u64 hash_len; in link_path_walk() local
2173 hash_len = hash_name(nd->path.dentry, name); in link_path_walk()
2176 if (name[0] == '.') switch (hashlen_len(hash_len)) { in link_path_walk()
2190 struct qstr this = { { .hash_len = hash_len }, .name = name }; in link_path_walk()
2194 hash_len = this.hash_len; in link_path_walk()
2199 nd->last.hash_len = hash_len; in link_path_walk()
2203 name += hashlen_len(hash_len); in link_path_walk()
/fs/sdcardfs/
Dpackagelist.c67 dest->hash_len = src->hash_len; in qstr_copy()