Lines Matching refs:hash_name
132 const char *hash_name; in nvmet_setup_auth() local
167 hash_name = nvme_auth_hmac_name(host->dhchap_hash_id); in nvmet_setup_auth()
168 if (!hash_name) { in nvmet_setup_auth()
269 const char *hash_name; in nvmet_auth_host_hash() local
274 hash_name = nvme_auth_hmac_name(ctrl->shash_id); in nvmet_auth_host_hash()
275 if (!hash_name) { in nvmet_auth_host_hash()
280 shash_tfm = crypto_alloc_shash(hash_name, 0, 0); in nvmet_auth_host_hash()
282 pr_err("failed to allocate shash %s\n", hash_name); in nvmet_auth_host_hash()
380 const char *hash_name; in nvmet_auth_ctrl_hash() local
385 hash_name = nvme_auth_hmac_name(ctrl->shash_id); in nvmet_auth_ctrl_hash()
386 if (!hash_name) { in nvmet_auth_ctrl_hash()
391 shash_tfm = crypto_alloc_shash(hash_name, 0, 0); in nvmet_auth_ctrl_hash()
393 pr_err("failed to allocate shash %s\n", hash_name); in nvmet_auth_ctrl_hash()