Home
last modified time | relevance | path

Searched refs:hash_name (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/nvme/target/
Dauth.c132 const char *hash_name; in nvmet_setup_auth() local
167 hash_name = nvme_auth_hmac_name(host->dhchap_hash_id); in nvmet_setup_auth()
168 if (!hash_name) { in nvmet_setup_auth()
269 const char *hash_name; in nvmet_auth_host_hash() local
274 hash_name = nvme_auth_hmac_name(ctrl->shash_id); in nvmet_auth_host_hash()
275 if (!hash_name) { in nvmet_auth_host_hash()
280 shash_tfm = crypto_alloc_shash(hash_name, 0, 0); in nvmet_auth_host_hash()
282 pr_err("failed to allocate shash %s\n", hash_name); in nvmet_auth_host_hash()
380 const char *hash_name; in nvmet_auth_ctrl_hash() local
385 hash_name = nvme_auth_hmac_name(ctrl->shash_id); in nvmet_auth_ctrl_hash()
[all …]
Dconfigfs.c1775 const char *hash_name = nvme_auth_hmac_name(host->dhchap_hash_id); in nvmet_host_dhchap_hash_show() local
1777 return sprintf(page, "%s\n", hash_name ? hash_name : "none"); in nvmet_host_dhchap_hash_show()
/linux-6.1.9/drivers/accessibility/speakup/
Dutils.h55 static inline struct st_key *hash_name(char *name) in hash_name() function
73 struct st_key *this = hash_name(name); in find_key()
85 struct st_key *this = hash_name(name); in add_key()
/linux-6.1.9/crypto/
Drsa-pkcs1pad.c607 const char *hash_name; in pkcs1pad_create() local
633 hash_name = crypto_attr_alg_name(tb[2]); in pkcs1pad_create()
634 if (IS_ERR(hash_name)) { in pkcs1pad_create()
646 ctx->digest_info = rsa_lookup_asn1(hash_name); in pkcs1pad_create()
654 hash_name) >= CRYPTO_MAX_ALG_NAME) in pkcs1pad_create()
660 hash_name) >= CRYPTO_MAX_ALG_NAME) in pkcs1pad_create()
/linux-6.1.9/drivers/crypto/bcm/
Dspu2.c316 char *hash_name; in spu2_dump_fmd_ctrl0() local
352 hash_name = spu2_hash_type_name(hash_type); in spu2_dump_fmd_ctrl0()
353 packet_log(" Hash type: %s\n", hash_name); in spu2_dump_fmd_ctrl0()
/linux-6.1.9/drivers/crypto/qat/qat_common/
Dqat_algs.c1333 const char *hash_name) in qat_alg_aead_init() argument
1337 ctx->hash_tfm = crypto_alloc_shash(hash_name, 0, 0); in qat_alg_aead_init()
/linux-6.1.9/security/selinux/ss/
Dpolicydb.c682 static void hash_eval(struct hashtab *h, const char *hash_name) in hash_eval() argument
688 hash_name, h->nel, info.slots_used, h->size, in hash_eval()
701 static inline void hash_eval(struct hashtab *h, const char *hash_name) in hash_eval() argument
/linux-6.1.9/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c1932 static int sec_aead_ctx_init(struct crypto_aead *tfm, const char *hash_name) in sec_aead_ctx_init() argument
1944 auth_ctx->hash_tfm = crypto_alloc_shash(hash_name, 0, 0); in sec_aead_ctx_init()
/linux-6.1.9/fs/
Dnamei.c2157 static inline u64 hash_name(const void *salt, const char *name) in hash_name() function
2214 static inline u64 hash_name(const void *salt, const char *name) in hash_name() function
2266 hash_len = hash_name(nd->path.dentry, name); in link_path_walk()