Home
last modified time | relevance | path

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

/linux/drivers/nvme/target/
H A Dauth.c176 if (host->dhchap_hash_id == ctrl->shash_id) { in nvmet_setup_auth()
178 ctrl->shash_id); in nvmet_setup_auth()
180 ctrl->shash_id = host->dhchap_hash_id; in nvmet_setup_auth()
221 ctrl->shash_id = 0; in nvmet_setup_auth()
242 ctrl->shash_id = 0; in nvmet_destroy_auth()
294 ret = nvme_auth_hmac_init(&hmac, ctrl->shash_id, transformed_key->key, in nvmet_auth_host_hash()
299 if (shash_len != nvme_auth_hmac_hash_len(ctrl->shash_id)) { in nvmet_auth_host_hash()
301 shash_len, nvme_auth_hmac_hash_len(ctrl->shash_id)); in nvmet_auth_host_hash()
312 ret = nvme_auth_augmented_challenge(ctrl->shash_id, in nvmet_auth_host_hash()
367 ret = nvme_auth_hmac_init(&hmac, ctrl->shash_id, transformed_key->key, in nvmet_auth_ctrl_hash()
[all …]
H A Dfabrics-cmd-auth.c79 if (ctrl->shash_id != host_hmac_id) in nvmet_auth_negotiate()
81 hash_id = ctrl->shash_id; in nvmet_auth_negotiate()
93 ctrl->shash_id = fallback_hash_id; in nvmet_auth_negotiate()
411 int hash_len = nvme_auth_hmac_hash_len(ctrl->shash_id); in nvmet_auth_challenge()
426 data->hashid = ctrl->shash_id; in nvmet_auth_challenge()
450 int hash_len = nvme_auth_hmac_hash_len(ctrl->shash_id); in nvmet_auth_success1()
H A Dnvmet.h304 u8 shash_id; member