Home
last modified time | relevance | path

Searched refs:dh_key (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/nvme/target/
Dauth.c103 kfree_sensitive(ctrl->dh_key); in nvmet_setup_dhgroup()
107 kfree_sensitive(ctrl->dh_key); in nvmet_setup_dhgroup()
108 ctrl->dh_key = kzalloc(ctrl->dh_keysize, GFP_KERNEL); in nvmet_setup_dhgroup()
109 if (!ctrl->dh_key) { in nvmet_setup_dhgroup()
114 ret = nvme_auth_gen_pubkey(ctrl->dh_tfm, ctrl->dh_key, in nvmet_setup_dhgroup()
119 kfree(ctrl->dh_key); in nvmet_setup_dhgroup()
120 ctrl->dh_key = NULL; in nvmet_setup_dhgroup()
242 kfree_sensitive(ctrl->dh_key); in nvmet_destroy_auth()
243 ctrl->dh_key = NULL; in nvmet_destroy_auth()
489 if (!ctrl->dh_key) { in nvmet_auth_ctrl_exponential()
[all …]
Dnvmet.h231 u8 *dh_key; member