Home
last modified time | relevance | path

Searched refs:host_response (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/nvme/target/
Dauth.c270 u8 *challenge = req->sq->dhchap_c1, *host_response; in nvmet_auth_host_hash() local
294 host_response = nvme_auth_transform_key(ctrl->host_key, ctrl->hostnqn); in nvmet_auth_host_hash()
295 if (IS_ERR(host_response)) { in nvmet_auth_host_hash()
296 ret = PTR_ERR(host_response); in nvmet_auth_host_hash()
300 ret = crypto_shash_setkey(shash_tfm, host_response, in nvmet_auth_host_hash()
368 kfree_sensitive(host_response); in nvmet_auth_host_hash()
/linux-6.1.9/drivers/nvme/host/
Dauth.c36 u8 *host_response; member
202 kfree(chap->host_response); in nvme_auth_process_dhchap_challenge()
203 chap->host_response = NULL; in nvme_auth_process_dhchap_challenge()
434 if (!chap->host_response) { in nvme_auth_dhchap_setup_host_response()
435 chap->host_response = nvme_auth_transform_key(ctrl->host_key, in nvme_auth_dhchap_setup_host_response()
437 if (IS_ERR(chap->host_response)) { in nvme_auth_dhchap_setup_host_response()
438 ret = PTR_ERR(chap->host_response); in nvme_auth_dhchap_setup_host_response()
439 chap->host_response = NULL; in nvme_auth_dhchap_setup_host_response()
448 chap->host_response, ctrl->host_key->len); in nvme_auth_dhchap_setup_host_response()
659 kfree_sensitive(chap->host_response); in __nvme_auth_reset()
[all …]