Searched refs:hmac_name (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/nvme/common/ |
| H A D | auth.c | 130 u8 nvme_auth_hmac_id(const char *hmac_name) in nvme_auth_hmac_id() argument 134 if (!hmac_name || !strlen(hmac_name)) in nvme_auth_hmac_id() 140 if (!strncmp(hash_map[i].hmac, hmac_name, in nvme_auth_hmac_id() 243 const char *hmac_name; in nvme_auth_transform_key() local 260 hmac_name = nvme_auth_hmac_name(key->hash); in nvme_auth_transform_key() 261 if (!hmac_name) { in nvme_auth_transform_key() 266 key_tfm = crypto_alloc_shash(hmac_name, 0, 0); in nvme_auth_transform_key() 337 const char *hmac_name; in nvme_auth_augmented_challenge() local 349 hmac_name = nvme_auth_hmac_name(hmac_id); in nvme_auth_augmented_challenge() 350 if (!hmac_name) { in nvme_auth_augmented_challenge() [all …]
|
| /linux/fs/ubifs/ |
| H A D | auth.c | 260 char hmac_name[CRYPTO_MAX_ALG_NAME]; in ubifs_init_authentication() local 275 snprintf(hmac_name, CRYPTO_MAX_ALG_NAME, "hmac(%s)", in ubifs_init_authentication() 317 c->hmac_tfm = crypto_alloc_shash(hmac_name, 0, 0); in ubifs_init_authentication() 320 ubifs_err(c, "Can not allocate %s: %d", hmac_name, err); in ubifs_init_authentication() 327 hmac_name, c->hmac_desc_len, UBIFS_HMAC_ARR_SZ); in ubifs_init_authentication()
|
| /linux/drivers/nvme/host/ |
| H A D | auth.c | 170 const char *hmac_name, *kpp_name; in nvme_auth_process_dhchap_challenge() local 177 hmac_name = nvme_auth_hmac_name(data->hashid); in nvme_auth_process_dhchap_challenge() 178 if (!hmac_name) { in nvme_auth_process_dhchap_challenge() 187 !strcmp(crypto_shash_alg_name(chap->shash_tfm), hmac_name) && in nvme_auth_process_dhchap_challenge() 191 chap->qid, hmac_name); in nvme_auth_process_dhchap_challenge() 201 chap->shash_tfm = crypto_alloc_shash(hmac_name, 0, in nvme_auth_process_dhchap_challenge() 206 chap->qid, hmac_name, PTR_ERR(chap->shash_tfm)); in nvme_auth_process_dhchap_challenge() 225 chap->qid, hmac_name); in nvme_auth_process_dhchap_challenge()
|
| /linux/drivers/crypto/caam/ |
| H A D | caamhash.c | 1578 char hmac_name[CRYPTO_MAX_ALG_NAME]; member 1590 .hmac_name = "hmac(sha1)", 1611 .hmac_name = "hmac(sha224)", 1632 .hmac_name = "hmac(sha256)", 1653 .hmac_name = "hmac(sha384)", 1674 .hmac_name = "hmac(sha512)", 1695 .hmac_name = "hmac(md5)", 1714 .hmac_name = "xcbc(aes)", 1733 .hmac_name = "cmac(aes)", 1917 template->hmac_name); in caam_hash_alloc()
|
| /linux/include/linux/ |
| H A D | nvme-auth.h | 25 u8 nvme_auth_hmac_id(const char *hmac_name);
|