Lines Matching refs:tls_key
243 sq->tls_key = NULL; in nvmet_auth_sq_free()
274 if (ctrl->tls_key) { in nvmet_destroy_auth()
275 key_put(ctrl->tls_key); in nvmet_destroy_auth()
276 ctrl->tls_key = NULL; in nvmet_destroy_auth()
563 struct key *tls_key = NULL; in nvmet_auth_insert_psk() local
592 tls_key = nvme_tls_psk_refresh(NULL, sq->ctrl->hostnqn, sq->ctrl->subsysnqn, in nvmet_auth_insert_psk()
594 if (IS_ERR(tls_key)) { in nvmet_auth_insert_psk()
596 __func__, sq->ctrl->cntlid, sq->qid, PTR_ERR(tls_key)); in nvmet_auth_insert_psk()
597 tls_key = NULL; in nvmet_auth_insert_psk()
599 if (sq->ctrl->tls_key) in nvmet_auth_insert_psk()
600 key_put(sq->ctrl->tls_key); in nvmet_auth_insert_psk()
601 sq->ctrl->tls_key = tls_key; in nvmet_auth_insert_psk()