Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/drivers/nvme/host/
Dauth.c511 u8 *ctrl_response; in nvme_auth_dhchap_setup_ctrl_response() local
515 ctrl_response = nvme_auth_transform_key(ctrl->ctrl_key, in nvme_auth_dhchap_setup_ctrl_response()
517 if (IS_ERR(ctrl_response)) { in nvme_auth_dhchap_setup_ctrl_response()
518 ret = PTR_ERR(ctrl_response); in nvme_auth_dhchap_setup_ctrl_response()
523 ctrl_response, ctrl->ctrl_key->len); in nvme_auth_dhchap_setup_ctrl_response()
589 kfree(ctrl_response); in nvme_auth_dhchap_setup_ctrl_response()