Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nvme/target/
H A 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()
491 if (!ctrl->dh_key) { in nvmet_auth_ctrl_exponential()
[all …]
H A Dnvmet.h231 u8 *dh_key; member