/kernel/linux/linux-5.10/certs/ |
D | blacklist.c | 115 int is_hash_blacklisted(const u8 *hash, size_t hash_len, const char *type) in is_hash_blacklisted() argument 122 buffer = kmalloc(type_len + 1 + hash_len * 2 + 1, GFP_KERNEL); in is_hash_blacklisted() 128 bin2hex(p, hash, hash_len); in is_hash_blacklisted() 129 p += hash_len * 2; in is_hash_blacklisted() 144 int is_binary_blacklisted(const u8 *hash, size_t hash_len) in is_binary_blacklisted() argument 146 if (is_hash_blacklisted(hash, hash_len, "bin") == -EKEYREJECTED) in is_binary_blacklisted()
|
/kernel/linux/linux-5.10/include/keys/ |
D | system_keyring.h | 37 extern int is_hash_blacklisted(const u8 *hash, size_t hash_len, 39 extern int is_binary_blacklisted(const u8 *hash, size_t hash_len); 41 static inline int is_hash_blacklisted(const u8 *hash, size_t hash_len, in is_hash_blacklisted() argument 47 static inline int is_binary_blacklisted(const u8 *hash, size_t hash_len) in is_binary_blacklisted() argument
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | demangle-rust.c | 47 static const size_t hash_len = 16; variable 85 if (len <= hash_prefix_len + hash_len) in rust_is_mangled() 89 len_without_hash = len - (hash_prefix_len + hash_len); in rust_is_mangled() 112 for (end = str + hash_len; str < end; str++) in is_prefixed_hash() 193 end = sym + strlen(sym) - (hash_prefix_len + hash_len); in rust_demangle_sym()
|
/kernel/linux/linux-5.10/fs/ubifs/ |
D | auth.c | 50 return crypto_shash_tfm_digest(c->hmac_tfm, hash, c->hash_len, hmac); in ubifs_hash_calc_hmac() 141 int len = min(c->hash_len, 20); in ubifs_bad_hash() 142 int cropped = len != c->hash_len; in ubifs_bad_hash() 311 c->hash_len = crypto_shash_digestsize(c->hash_tfm); in ubifs_init_authentication() 312 if (c->hash_len > UBIFS_HASH_ARR_SZ) { in ubifs_init_authentication() 314 c->auth_hash_name, c->hash_len, UBIFS_HASH_ARR_SZ); in ubifs_init_authentication()
|
D | misc.h | 188 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()
|
D | ubifs.h | 1344 int hash_len; member 1579 return crypto_memneq(expected, got, c->hash_len); in ubifs_check_hash() 1645 memcpy(to, from, c->hash_len); in ubifs_copy_hash()
|
D | replay.c | 616 c->hash_len, hmac); in authenticate_sleb()
|
/kernel/linux/linux-5.10/drivers/crypto/ccree/ |
D | cc_hash.c | 98 unsigned int hash_len; member 155 ctx->hash_len); in cc_init_req() 159 ctx->hash_len); in cc_init_req() 396 ctx->hash_len); in cc_fin_hmac() 489 ctx->hash_len, NS_BIT); in cc_hash_digest() 491 set_din_const(&desc[idx], 0, ctx->hash_len); in cc_hash_digest() 508 ctx->hash_len, NS_BIT, 0); in cc_hash_digest() 546 ctx->hash_len, NS_BIT); in cc_restore_hash() 617 ctx->hash_len, NS_BIT, 1); in cc_hash_update() 681 ctx->hash_len, NS_BIT, 0); in cc_do_finup() [all …]
|
D | cc_aead.c | 58 unsigned int hash_len; member 199 ctx->hash_len = cc_get_aead_hash_len(tfm); in cc_aead_init() 322 set_din_const(&desc[idx], 0, ctx->hash_len); in hmac_setkey() 468 set_din_const(&desc[idx], 0, ctx->hash_len); in cc_get_plain_hmac_key() 1013 ctx->hash_len); in cc_set_hmac_desc() 1112 ctx->hash_len); in cc_proc_scheme_desc() 1142 ctx->hash_len); in cc_proc_scheme_desc()
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | cifsencrypt.c | 606 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()
|
/kernel/linux/linux-5.10/fs/ |
D | dcache.c | 1849 q.hash_len = hashlen_string(parent, name); in d_alloc_name() 2237 u64 hashlen = name->hash_len; in __d_lookup_rcu() 2306 if (dentry->d_name.hash_len != hashlen) in __d_lookup_rcu() 2791 swap(dentry->d_name.hash_len, target->d_name.hash_len); in swap_names() 2806 dentry->d_name.hash_len = target->d_name.hash_len; in copy_name()
|
D | namei.c | 2136 u64 hash_len; in link_path_walk() local 2143 hash_len = hash_name(nd->path.dentry, name); in link_path_walk() 2146 if (name[0] == '.') switch (hashlen_len(hash_len)) { in link_path_walk() 2160 struct qstr this = { { .hash_len = hash_len }, .name = name }; in link_path_walk() 2164 hash_len = this.hash_len; in link_path_walk() 2169 nd->last.hash_len = hash_len; in link_path_walk() 2173 name += hashlen_len(hash_len); in link_path_walk()
|
/kernel/linux/linux-5.10/include/linux/ |
D | dcache.h | 52 u64 hash_len; member
|
/kernel/linux/linux-5.10/drivers/crypto/ |
D | picoxcell_crypto.c | 239 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()
|
D | n2_core.c | 214 unsigned int hash_len, in control_word_base() argument 233 if (hash_len) in control_word_base() 234 word |= ((u64) (hash_len - 1)) << CONTROL_HASH_LEN_SHIFT; in control_word_base()
|
/kernel/linux/linux-5.10/fs/exfat/ |
D | namei.c | 734 WARN_ON(alias->d_name.hash_len != in exfat_lookup() 735 dentry->d_name.hash_len); in exfat_lookup()
|
/kernel/linux/linux-5.10/security/selinux/ |
D | hooks.c | 3508 q.hash_len = hashlen_string(kn_dir, kn->name); in selinux_kernfs_init_security()
|