Home
last modified time | relevance | path

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

/linux-6.15/crypto/
H A Drsassa-pkcs1.c360 const char *hash_name; in rsassa_pkcs1_create() local
386 hash_name = crypto_attr_alg_name(tb[2]); in rsassa_pkcs1_create()
387 if (IS_ERR(hash_name)) { in rsassa_pkcs1_create()
388 err = PTR_ERR(hash_name); in rsassa_pkcs1_create()
392 ctx->hash_prefix = rsassa_pkcs1_find_hash_prefix(hash_name); in rsassa_pkcs1_create()
401 hash_name) >= CRYPTO_MAX_ALG_NAME) in rsassa_pkcs1_create()
406 hash_name) >= CRYPTO_MAX_ALG_NAME) in rsassa_pkcs1_create()
/linux-6.15/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()
/linux-6.15/drivers/nvme/target/
H A Dauth.c295 const char *hash_name; in nvmet_auth_host_hash() local
301 hash_name = nvme_auth_hmac_name(ctrl->shash_id); in nvmet_auth_host_hash()
302 if (!hash_name) { in nvmet_auth_host_hash()
307 shash_tfm = crypto_alloc_shash(hash_name, 0, 0); in nvmet_auth_host_hash()
309 pr_err("failed to allocate shash %s\n", hash_name); in nvmet_auth_host_hash()
409 const char *hash_name; in nvmet_auth_ctrl_hash() local
415 hash_name = nvme_auth_hmac_name(ctrl->shash_id); in nvmet_auth_ctrl_hash()
416 if (!hash_name) { in nvmet_auth_ctrl_hash()
421 shash_tfm = crypto_alloc_shash(hash_name, 0, 0); in nvmet_auth_ctrl_hash()
423 pr_err("failed to allocate shash %s\n", hash_name); in nvmet_auth_ctrl_hash()
H A Dconfigfs.c2170 const char *hash_name = nvme_auth_hmac_name(host->dhchap_hash_id); in nvmet_host_dhchap_hash_show() local
2172 return sprintf(page, "%s\n", hash_name ? hash_name : "none"); in nvmet_host_dhchap_hash_show()
/linux-6.15/crypto/krb5/
H A Drfc3962_aes.c77 .hash_name = "sha1",
100 .hash_name = "sha1",
H A Drfc6803_camellia.c199 .hash_name = NULL,
222 .hash_name = NULL,
H A Drfc8009_aes2.c324 .hash_name = "sha256",
347 .hash_name = "sha384",
H A Drfc3961_simplified.c147 tfm = crypto_alloc_shash(krb5->hash_name, 0, 0); in rfc3961_calc_H()
/linux-6.15/include/crypto/
H A Dkrb5.h88 const char *hash_name; /* Crypto hash name */ member
/linux-6.15/drivers/crypto/bcm/
H A Dspu2.c317 char *hash_name; in spu2_dump_fmd_ctrl0() local
353 hash_name = spu2_hash_type_name(hash_type); in spu2_dump_fmd_ctrl0()
354 packet_log(" Hash type: %s\n", hash_name); in spu2_dump_fmd_ctrl0()
/linux-6.15/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()
/linux-6.15/security/selinux/ss/
H A Dpolicydb.c678 static void hash_eval(struct hashtab *h, const char *hash_name, in hash_eval() argument
686 hash_name, hash_details ? "@" : "", hash_details ?: "", h->nel, in hash_eval()
700 static inline void hash_eval(struct hashtab *h, const char *hash_name, in hash_eval() argument
/linux-6.15/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c1899 static int sec_aead_ctx_init(struct crypto_aead *tfm, const char *hash_name) in sec_aead_ctx_init() argument
1913 a_ctx->hash_tfm = crypto_alloc_shash(hash_name, 0, 0); in sec_aead_ctx_init()
/linux-6.15/fs/
H A Dnamei.c2302 static inline const char *hash_name(struct nameidata *nd, in hash_name() function
2391 static inline const char *hash_name(struct nameidata *nd, const char *name, unsigned long *lastword) in hash_name() function
2456 name = hash_name(nd, name, &lastword); in link_path_walk()