Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-crypto.c98 unsigned char *hash, unsigned int *hash_len) in cfs_crypto_hash_digest() argument
105 if (buf == NULL || buf_len == 0 || hash_len == NULL) in cfs_crypto_hash_digest()
112 if (hash == NULL || *hash_len < type->cht_size) { in cfs_crypto_hash_digest()
113 *hash_len = type->cht_size; in cfs_crypto_hash_digest()
176 unsigned char *hash, unsigned int *hash_len) in cfs_crypto_hash_final() argument
181 if (hash_len == NULL) { in cfs_crypto_hash_final()
186 if (hash == NULL || *hash_len < size) { in cfs_crypto_hash_final()
187 *hash_len = size; in cfs_crypto_hash_final()
210 unsigned int hash_len = 64; in cfs_crypto_performance_test() local
215 hash, &hash_len); in cfs_crypto_performance_test()
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_crypto.h132 unsigned char *hash, unsigned int *hash_len);
184 unsigned char *hash, unsigned int *hash_len);
/linux-4.1.27/fs/cifs/
Dcifsencrypt.c599 unsigned int hash_len; in CalcNTLMv2_response() local
602 hash_len = ses->auth_key.len - (CIFS_SESS_KEY_SIZE + in CalcNTLMv2_response()
631 ntlmv2->challenge.key, hash_len); in CalcNTLMv2_response()
/linux-4.1.27/fs/
Dnamei.c1823 u64 hash_len; in link_path_walk() local
1830 hash_len = hash_name(name); in link_path_walk()
1833 if (name[0] == '.') switch (hashlen_len(hash_len)) { in link_path_walk()
1847 struct qstr this = { { .hash_len = hash_len }, .name = name }; in link_path_walk()
1851 hash_len = this.hash_len; in link_path_walk()
1856 nd->last.hash_len = hash_len; in link_path_walk()
1860 name += hashlen_len(hash_len); in link_path_walk()
Ddcache.c2147 u64 hashlen = name->hash_len; in __d_lookup_rcu()
2211 if (dentry->d_name.hash_len != hashlen) in __d_lookup_rcu()
2506 swap(dentry->d_name.hash_len, target->d_name.hash_len); in swap_names()
2521 dentry->d_name.hash_len = target->d_name.hash_len; in copy_name()
/linux-4.1.27/include/linux/
Ddcache.h49 u64 hash_len; member
/linux-4.1.27/drivers/crypto/
Dpicoxcell_crypto.c239 size_t hash_len) in spacc_load_ctx() argument
255 memcpy_toio32(hash_page_addr, hash_key, hash_len / 4); in spacc_load_ctx()
256 writel(hash_len | (indx << SPA_KEY_SZ_CTX_INDEX_OFFSET), in spacc_load_ctx()
Dn2_core.c207 unsigned int hash_len, in control_word_base() argument
226 if (hash_len) in control_word_base()
227 word |= ((u64) (hash_len - 1)) << CONTROL_HASH_LEN_SHIFT; in control_word_base()