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.c175 if (host->dhchap_hash_id == ctrl->shash_id) { in nvmet_setup_auth()
177 ctrl->shash_id); in nvmet_setup_auth()
179 ctrl->shash_id = host->dhchap_hash_id; in nvmet_setup_auth()
222 ctrl->shash_id = 0; in nvmet_setup_auth()
249 ctrl->shash_id = 0; in nvmet_destroy_auth()
301 ret = nvme_auth_hmac_init(&hmac, ctrl->shash_id, transformed_key->key, in nvmet_auth_host_hash()
306 if (shash_len != nvme_auth_hmac_hash_len(ctrl->shash_id)) { in nvmet_auth_host_hash()
308 shash_len, nvme_auth_hmac_hash_len(ctrl->shash_id)); in nvmet_auth_host_hash()
319 ret = nvme_auth_augmented_challenge(ctrl->shash_id, in nvmet_auth_host_hash()
373 ret = nvme_auth_hmac_init(&hmac, ctrl->shash_id, transformed_key->key, in nvmet_auth_ctrl_hash()
[all …]
H A Dfabrics-cmd-auth.c88 if (ctrl->shash_id != host_hmac_id) in nvmet_auth_negotiate()
90 hash_id = ctrl->shash_id; in nvmet_auth_negotiate()
102 ctrl->shash_id = fallback_hash_id; in nvmet_auth_negotiate()
429 int hash_len = nvme_auth_hmac_hash_len(ctrl->shash_id); in nvmet_auth_challenge()
444 data->hashid = ctrl->shash_id; in nvmet_auth_challenge()
468 int hash_len = nvme_auth_hmac_hash_len(ctrl->shash_id); in nvmet_auth_success1()
519 min_len += nvme_auth_hmac_hash_len(ctrl->shash_id); in nvmet_auth_receive_data_len()
H A Dnvmet.h310 u8 shash_id; member