Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nvme/target/
H A Dauth.c164 if (host->dhchap_hash_id == ctrl->shash_id) { in nvmet_setup_auth()
166 ctrl->shash_id); in nvmet_setup_auth()
174 ctrl->shash_id = host->dhchap_hash_id; in nvmet_setup_auth()
215 ctrl->shash_id = 0; in nvmet_setup_auth()
236 ctrl->shash_id = 0; in nvmet_destroy_auth()
275 hash_name = nvme_auth_hmac_name(ctrl->shash_id); in nvmet_auth_host_hash()
277 pr_warn("Hash ID %d invalid\n", ctrl->shash_id); in nvmet_auth_host_hash()
312 ret = nvme_auth_augmented_challenge(ctrl->shash_id, in nvmet_auth_host_hash()
387 hash_name = nvme_auth_hmac_name(ctrl->shash_id); in nvmet_auth_ctrl_hash()
389 pr_warn("Hash ID %d invalid\n", ctrl->shash_id); in nvmet_auth_ctrl_hash()
[all …]
H A 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()
357 int hash_len = nvme_auth_hmac_hash_len(ctrl->shash_id); in nvmet_auth_challenge()
372 data->hashid = ctrl->shash_id; in nvmet_auth_challenge()
396 int hash_len = nvme_auth_hmac_hash_len(ctrl->shash_id); in nvmet_auth_success1()
H A Dnvmet.h228 u8 shash_id; member