| /linux-6.15/crypto/ |
| H A D | rsassa-pkcs1.c | 360 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 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()
|
| /linux-6.15/drivers/nvme/target/ |
| H A D | auth.c | 295 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 D | configfs.c | 2170 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 D | rfc3962_aes.c | 77 .hash_name = "sha1", 100 .hash_name = "sha1",
|
| H A D | rfc6803_camellia.c | 199 .hash_name = NULL, 222 .hash_name = NULL,
|
| H A D | rfc8009_aes2.c | 324 .hash_name = "sha256", 347 .hash_name = "sha384",
|
| H A D | rfc3961_simplified.c | 147 tfm = crypto_alloc_shash(krb5->hash_name, 0, 0); in rfc3961_calc_H()
|
| /linux-6.15/include/crypto/ |
| H A D | krb5.h | 88 const char *hash_name; /* Crypto hash name */ member
|
| /linux-6.15/drivers/crypto/bcm/ |
| H A D | spu2.c | 317 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 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()
|
| /linux-6.15/security/selinux/ss/ |
| H A D | policydb.c | 678 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 D | sec_crypto.c | 1899 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 D | namei.c | 2302 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()
|