Home
last modified time | relevance | path

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

/linux-6.15/drivers/nvme/target/
H 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 …]
H A Dnvmet.h297 struct nvme_dhchap_key *host_key; member
898 return ctrl->host_key != NULL && !nvmet_queue_tls_keyid(sq); in nvmet_has_auth()
H A Dfabrics-cmd-auth.c159 if (!ctrl->host_key) { in nvmet_auth_reply()
/linux-6.15/drivers/nvme/host/
H A Dauth.c43 u8 *host_key; member
620 if (!chap->host_key) { in nvme_auth_dhchap_exponential()
661 kfree_sensitive(chap->host_key); in nvme_auth_reset_dhchap()
662 chap->host_key = NULL; in nvme_auth_reset_dhchap()
962 if (!ctrl->host_key) { in nvme_auth_negotiate()
1057 &ctrl->host_key); in nvme_auth_init_ctrl()
1087 nvme_auth_free_key(ctrl->host_key); in nvme_auth_init_ctrl()
1088 ctrl->host_key = NULL; in nvme_auth_init_ctrl()
1108 if (ctrl->host_key) { in nvme_auth_free()
1109 nvme_auth_free_key(ctrl->host_key); in nvme_auth_free()
[all …]
H A Dsysfs.c629 struct nvme_dhchap_key *key, *host_key; in nvme_ctrl_dhchap_secret_store() local
639 host_key = ctrl->host_key; in nvme_ctrl_dhchap_secret_store()
641 ctrl->host_key = key; in nvme_ctrl_dhchap_secret_store()
643 nvme_auth_free_key(host_key); in nvme_ctrl_dhchap_secret_store()
H A Dnvme.h381 struct nvme_dhchap_key *host_key; member
/linux-6.15/include/linux/
H A Dnvme-auth.h39 u8 *host_key, size_t host_key_len);
/linux-6.15/drivers/nvme/common/
H A Dauth.c400 u8 *host_key, size_t host_key_len) in nvme_auth_gen_pubkey() argument
413 sg_init_one(&dst, host_key, host_key_len); in nvme_auth_gen_pubkey()
/linux-6.15/arch/s390/kernel/
H A Duv.c661 __ATTR(host_key, 0444, uv_keys_host_key, NULL);