Home
last modified time | relevance | path

Searched refs:shash_id (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/nvme/target/
Dauth.c163 if (host->dhchap_hash_id == ctrl->shash_id) { in nvmet_setup_auth()
165 ctrl->shash_id); in nvmet_setup_auth()
173 ctrl->shash_id = host->dhchap_hash_id; in nvmet_setup_auth()
214 ctrl->shash_id = 0; in nvmet_setup_auth()
235 ctrl->shash_id = 0; in nvmet_destroy_auth()
274 hash_name = nvme_auth_hmac_name(ctrl->shash_id); in nvmet_auth_host_hash()
276 pr_warn("Hash ID %d invalid\n", ctrl->shash_id); in nvmet_auth_host_hash()
311 ret = nvme_auth_augmented_challenge(ctrl->shash_id, in nvmet_auth_host_hash()
385 hash_name = nvme_auth_hmac_name(ctrl->shash_id); in nvmet_auth_ctrl_hash()
387 pr_warn("Hash ID %d invalid\n", ctrl->shash_id); in nvmet_auth_ctrl_hash()
[all …]
Dfabrics-cmd-auth.c62 if (ctrl->shash_id != host_hmac_id) in nvmet_auth_negotiate()
64 hash_id = ctrl->shash_id; in nvmet_auth_negotiate()
76 ctrl->shash_id = fallback_hash_id; in nvmet_auth_negotiate()
360 int hash_len = nvme_auth_hmac_hash_len(ctrl->shash_id); in nvmet_auth_challenge()
375 data->hashid = ctrl->shash_id; in nvmet_auth_challenge()
399 int hash_len = nvme_auth_hmac_hash_len(ctrl->shash_id); in nvmet_auth_success1()
Dnvmet.h227 u8 shash_id; member