Home
last modified time | relevance | path

Searched refs:host_key (Results 1 – 7 of 7) sorted by relevance

/drivers/nvme/target/
A Dauth.c194 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 …]
A Dnvmet.h301 struct nvme_dhchap_key *host_key; member
910 return ctrl->host_key != NULL && !nvmet_queue_tls_keyid(sq); in nvmet_has_auth()
A Dfabrics-cmd-auth.c159 if (!ctrl->host_key) { in nvmet_auth_reply()
/drivers/nvme/host/
A Dauth.c44 u8 *host_key; member
621 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 …]
A Dsysfs.c636 struct nvme_dhchap_key *key, *host_key; in nvme_ctrl_dhchap_secret_store() local
646 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()
A Dnvme.h381 struct nvme_dhchap_key *host_key; member
/drivers/nvme/common/
A Dauth.c389 u8 *host_key, size_t host_key_len) in nvme_auth_gen_pubkey() argument
402 sg_init_one(&dst, host_key, host_key_len); in nvme_auth_gen_pubkey()

Completed in 26 milliseconds