Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-crypto.c95 unsigned char *hash, unsigned int *hash_len) in cfs_crypto_hash_digest() argument
102 if (buf == NULL || buf_len == 0 || hash_len == NULL) in cfs_crypto_hash_digest()
109 if (hash == NULL || *hash_len < type->cht_size) { in cfs_crypto_hash_digest()
110 *hash_len = type->cht_size; in cfs_crypto_hash_digest()
173 unsigned char *hash, unsigned int *hash_len) in cfs_crypto_hash_final() argument
178 if (hash_len == NULL) { in cfs_crypto_hash_final()
183 if (hash == NULL || *hash_len < size) { in cfs_crypto_hash_final()
184 *hash_len = size; in cfs_crypto_hash_final()
207 unsigned int hash_len = 64; in cfs_crypto_performance_test() local
212 hash, &hash_len); in cfs_crypto_performance_test()
/linux-4.4.14/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.4.14/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.4.14/fs/
Dnamei.c1907 u64 hash_len; in link_path_walk() local
1914 hash_len = hash_name(name); in link_path_walk()
1917 if (name[0] == '.') switch (hashlen_len(hash_len)) { in link_path_walk()
1931 struct qstr this = { { .hash_len = hash_len }, .name = name }; in link_path_walk()
1935 hash_len = this.hash_len; in link_path_walk()
1940 nd->last.hash_len = hash_len; in link_path_walk()
1944 name += hashlen_len(hash_len); in link_path_walk()
Ddcache.c2150 u64 hashlen = name->hash_len; in __d_lookup_rcu()
2214 if (dentry->d_name.hash_len != hashlen) in __d_lookup_rcu()
2509 swap(dentry->d_name.hash_len, target->d_name.hash_len); in swap_names()
2524 dentry->d_name.hash_len = target->d_name.hash_len; in copy_name()
/linux-4.4.14/include/linux/
Ddcache.h49 u64 hash_len; member
/linux-4.4.14/drivers/crypto/
Dpicoxcell_crypto.c251 size_t hash_len) in spacc_load_ctx() argument
267 memcpy_toio32(hash_page_addr, hash_key, hash_len / 4); in spacc_load_ctx()
268 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()