Searched refs:hash_name (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/nvme/target/ |
H A D | auth.c | 133 const char *hash_name; in nvmet_setup_auth() local 168 hash_name = nvme_auth_hmac_name(host->dhchap_hash_id); in nvmet_setup_auth() 169 if (!hash_name) { in nvmet_setup_auth() 270 const char *hash_name; in nvmet_auth_host_hash() local 275 hash_name = nvme_auth_hmac_name(ctrl->shash_id); in nvmet_auth_host_hash() 276 if (!hash_name) { in nvmet_auth_host_hash() 281 shash_tfm = crypto_alloc_shash(hash_name, 0, 0); in nvmet_auth_host_hash() 283 pr_err("failed to allocate shash %s\n", hash_name); in nvmet_auth_host_hash() 382 const char *hash_name; in nvmet_auth_ctrl_hash() local 387 hash_name = nvme_auth_hmac_name(ctrl->shash_id); in nvmet_auth_ctrl_hash() [all …]
|
H A D | configfs.c | 1918 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 D | utils.h | 55 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 D | rsa-pkcs1pad.c | 604 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 D | spu2.c | 316 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 D | qat_algs.c | 1154 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 D | policydb.c | 682 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 D | sec_crypto.c | 1919 static int sec_aead_ctx_init(struct crypto_aead *tfm, const char *hash_name) in sec_aead_ctx_init() argument 1933 a_ctx->hash_tfm = crypto_alloc_shash(hash_name, 0, 0); in sec_aead_ctx_init()
|
/openbmc/linux/fs/ |
H A D | namei.c | 2166 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()
|