Searched refs:host_key (Results 1 – 7 of 7) sorted by relevance
194 nvme_auth_free_key(ctrl->host_key); in nvmet_setup_auth()197 if (IS_ERR(ctrl->host_key)) { in nvmet_setup_auth()199 ctrl->host_key = NULL; in nvmet_setup_auth()203 ctrl->host_key->hash > 0 ? in nvmet_setup_auth()205 (int)ctrl->host_key->len, ctrl->host_key->key); in nvmet_setup_auth()227 if (ctrl->host_key) { in nvmet_setup_auth()229 ctrl->host_key = NULL; in nvmet_setup_auth()265 if (ctrl->host_key) { in nvmet_destroy_auth()266 nvme_auth_free_key(ctrl->host_key); in nvmet_destroy_auth()267 ctrl->host_key = NULL; in nvmet_destroy_auth()[all …]
301 struct nvme_dhchap_key *host_key; member910 return ctrl->host_key != NULL && !nvmet_queue_tls_keyid(sq); in nvmet_has_auth()
159 if (!ctrl->host_key) { in nvmet_auth_reply()
44 u8 *host_key; member621 if (!chap->host_key) { in nvme_auth_dhchap_exponential()662 kfree_sensitive(chap->host_key); in nvme_auth_reset_dhchap()663 chap->host_key = NULL; in nvme_auth_reset_dhchap()966 if (!ctrl->host_key) { in nvme_auth_negotiate()1070 &ctrl->host_key); in nvme_auth_init_ctrl()1101 nvme_auth_free_key(ctrl->host_key); in nvme_auth_init_ctrl()1102 ctrl->host_key = NULL; in nvme_auth_init_ctrl()1122 if (ctrl->host_key) { in nvme_auth_free()1123 nvme_auth_free_key(ctrl->host_key); in nvme_auth_free()[all …]
636 struct nvme_dhchap_key *key, *host_key; in nvme_ctrl_dhchap_secret_store() local646 host_key = ctrl->host_key; in nvme_ctrl_dhchap_secret_store()648 ctrl->host_key = key; in nvme_ctrl_dhchap_secret_store()650 nvme_auth_free_key(host_key); in nvme_ctrl_dhchap_secret_store()
381 struct nvme_dhchap_key *host_key; member
389 u8 *host_key, size_t host_key_len) in nvme_auth_gen_pubkey() argument402 sg_init_one(&dst, host_key, host_key_len); in nvme_auth_gen_pubkey()
Completed in 26 milliseconds