Home
last modified time | relevance | path

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

/linux/drivers/nvme/target/
H A Dauth.c117 kfree_sensitive(ctrl->dh_key); in nvmet_setup_dhgroup()
118 ctrl->dh_key = NULL; in nvmet_setup_dhgroup()
122 kfree_sensitive(ctrl->dh_key); in nvmet_setup_dhgroup()
123 ctrl->dh_key = kzalloc(ctrl->dh_keysize, GFP_KERNEL); in nvmet_setup_dhgroup()
124 if (!ctrl->dh_key) { in nvmet_setup_dhgroup()
129 ret = nvme_auth_gen_pubkey(ctrl->dh_tfm, ctrl->dh_key, in nvmet_setup_dhgroup()
134 kfree(ctrl->dh_key); in nvmet_setup_dhgroup()
135 ctrl->dh_key = NULL; in nvmet_setup_dhgroup()
253 kfree_sensitive(ctrl->dh_key); in nvmet_destroy_auth()
254 ctrl->dh_key = NULL; in nvmet_destroy_auth()
[all …]
H A Dnvmet.h296 u8 *dh_key; member