Home
last modified time | relevance | path

Searched refs:hmac_name (Results 1 – 4 of 4) sorted by relevance

/linux/fs/ubifs/
H A Dauth.c260 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/common/
H A Dauth.c115 u8 nvme_auth_hmac_id(const char *hmac_name) in nvme_auth_hmac_id() argument
119 if (!hmac_name || !strlen(hmac_name)) in nvme_auth_hmac_id()
125 if (!strncmp(hash_map[i].hmac, hmac_name, in nvme_auth_hmac_id()
/linux/include/linux/
H A Dnvme-auth.h25 u8 nvme_auth_hmac_id(const char *hmac_name);
/linux/drivers/nvme/host/
H A Dauth.c172 const char *hmac_name, *kpp_name; in nvme_auth_process_dhchap_challenge() local
179 hmac_name = nvme_auth_hmac_name(data->hashid); in nvme_auth_process_dhchap_challenge()
180 if (!hmac_name) { in nvme_auth_process_dhchap_challenge()
191 chap->qid, hmac_name); in nvme_auth_process_dhchap_challenge()
206 chap->qid, hmac_name); in nvme_auth_process_dhchap_challenge()