Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nvme/target/
H A Dauth.c132 const char *hash_name; in nvmet_setup_auth() local
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()
386 if (!hash_name) { in nvmet_auth_ctrl_hash()
[all …]
H A Dconfigfs.c1918 const char *hash_name = nvme_auth_hmac_name(host->dhchap_hash_id); in nvmet_host_dhchap_hash_show() local
1920 return sprintf(page, "%s\n", hash_name ? hash_name : "none"); in nvmet_host_dhchap_hash_show()
/openbmc/linux/drivers/accessibility/speakup/
H A 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()
/openbmc/linux/crypto/
H A Drsa-pkcs1pad.c604 const char *hash_name; in pkcs1pad_create() local
630 hash_name = crypto_attr_alg_name(tb[2]); in pkcs1pad_create()
631 if (IS_ERR(hash_name)) { in pkcs1pad_create()
643 ctx->digest_info = rsa_lookup_asn1(hash_name); in pkcs1pad_create()
651 hash_name) >= CRYPTO_MAX_ALG_NAME) in pkcs1pad_create()
657 hash_name) >= CRYPTO_MAX_ALG_NAME) in pkcs1pad_create()
/openbmc/linux/drivers/crypto/bcm/
H A 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()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs.c1154 const char *hash_name) in qat_alg_aead_init() argument
1158 ctx->hash_tfm = crypto_alloc_shash(hash_name, 0, 0); in qat_alg_aead_init()
/openbmc/linux/security/selinux/ss/
H A 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
/openbmc/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c1931 static int sec_aead_ctx_init(struct crypto_aead *tfm, const char *hash_name) in sec_aead_ctx_init() argument
1943 auth_ctx->hash_tfm = crypto_alloc_shash(hash_name, 0, 0); in sec_aead_ctx_init()
/openbmc/linux/fs/
H A Dnamei.c2166 static inline u64 hash_name(const void *salt, const char *name) in hash_name() function
2223 static inline u64 hash_name(const void *salt, const char *name) in hash_name() function
2275 hash_len = hash_name(nd->path.dentry, name); in link_path_walk()