Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvme/target/
Dauth.c381 u8 *challenge = req->sq->dhchap_c2, *ctrl_response; in nvmet_auth_ctrl_hash() local
405 ctrl_response = nvme_auth_transform_key(ctrl->ctrl_key, in nvmet_auth_ctrl_hash()
407 if (IS_ERR(ctrl_response)) { in nvmet_auth_ctrl_hash()
408 ret = PTR_ERR(ctrl_response); in nvmet_auth_ctrl_hash()
412 ret = crypto_shash_setkey(shash_tfm, ctrl_response, in nvmet_auth_ctrl_hash()
477 kfree_sensitive(ctrl_response); in nvmet_auth_ctrl_hash()
/linux-6.1.9/drivers/nvme/host/
Dauth.c514 u8 *ctrl_response; in nvme_auth_dhchap_setup_ctrl_response() local
518 ctrl_response = nvme_auth_transform_key(ctrl->ctrl_key, in nvme_auth_dhchap_setup_ctrl_response()
520 if (IS_ERR(ctrl_response)) { in nvme_auth_dhchap_setup_ctrl_response()
521 ret = PTR_ERR(ctrl_response); in nvme_auth_dhchap_setup_ctrl_response()
525 ctrl_response, ctrl->ctrl_key->len); in nvme_auth_dhchap_setup_ctrl_response()
591 kfree(ctrl_response); in nvme_auth_dhchap_setup_ctrl_response()