Lines Matching refs:transformed_key
26 struct nvme_dhchap_key *transformed_key; member
428 if (!chap->transformed_key) { in nvme_auth_dhchap_setup_host_response()
429 chap->transformed_key = nvme_auth_transform_key(ctrl->host_key, in nvme_auth_dhchap_setup_host_response()
431 if (IS_ERR(chap->transformed_key)) { in nvme_auth_dhchap_setup_host_response()
432 ret = PTR_ERR(chap->transformed_key); in nvme_auth_dhchap_setup_host_response()
433 chap->transformed_key = NULL; in nvme_auth_dhchap_setup_host_response()
442 chap->transformed_key->key, chap->transformed_key->len); in nvme_auth_dhchap_setup_host_response()
508 struct nvme_dhchap_key *transformed_key; in nvme_auth_dhchap_setup_ctrl_response() local
512 transformed_key = nvme_auth_transform_key(ctrl->ctrl_key, in nvme_auth_dhchap_setup_ctrl_response()
514 if (IS_ERR(transformed_key)) { in nvme_auth_dhchap_setup_ctrl_response()
515 ret = PTR_ERR(transformed_key); in nvme_auth_dhchap_setup_ctrl_response()
520 transformed_key->key, transformed_key->len); in nvme_auth_dhchap_setup_ctrl_response()
586 nvme_auth_free_key(transformed_key); in nvme_auth_dhchap_setup_ctrl_response()
648 nvme_auth_free_key(chap->transformed_key); in nvme_auth_reset_dhchap()
649 chap->transformed_key = NULL; in nvme_auth_reset_dhchap()