Searched refs:host_key (Results 1 – 8 of 8) sorted by relevance
188 nvme_auth_free_key(ctrl->host_key); in nvmet_setup_auth()191 if (IS_ERR(ctrl->host_key)) { in nvmet_setup_auth()193 ctrl->host_key = NULL; in nvmet_setup_auth()197 ctrl->host_key->hash > 0 ? in nvmet_setup_auth()199 (int)ctrl->host_key->len, ctrl->host_key->key); in nvmet_setup_auth()221 if (ctrl->host_key) { in nvmet_setup_auth()223 ctrl->host_key = NULL; in nvmet_setup_auth()256 if (ctrl->host_key) { in nvmet_destroy_auth()257 nvme_auth_free_key(ctrl->host_key); in nvmet_destroy_auth()258 ctrl->host_key = NULL; in nvmet_destroy_auth()[all …]
241 struct nvme_dhchap_key *host_key; member737 return ctrl->host_key != NULL; in nvmet_has_auth()
135 if (!ctrl->host_key) { in nvmet_auth_reply()
42 u8 *host_key; member609 if (!chap->host_key) { in nvme_auth_dhchap_exponential()650 kfree_sensitive(chap->host_key); in nvme_auth_reset_dhchap()651 chap->host_key = NULL; in nvme_auth_reset_dhchap()858 if (!ctrl->host_key) { in nvme_auth_negotiate()948 &ctrl->host_key); in nvme_auth_init_ctrl()978 nvme_auth_free_key(ctrl->host_key); in nvme_auth_init_ctrl()979 ctrl->host_key = NULL; in nvme_auth_init_ctrl()999 if (ctrl->host_key) { in nvme_auth_free()1000 nvme_auth_free_key(ctrl->host_key); in nvme_auth_free()[all …]
581 struct nvme_dhchap_key *key, *host_key; in nvme_ctrl_dhchap_secret_store() local591 host_key = ctrl->host_key; in nvme_ctrl_dhchap_secret_store()593 ctrl->host_key = key; in nvme_ctrl_dhchap_secret_store()595 nvme_auth_free_key(host_key); in nvme_ctrl_dhchap_secret_store()
376 struct nvme_dhchap_key *host_key; member
39 u8 *host_key, size_t host_key_len);
397 u8 *host_key, size_t host_key_len) in nvme_auth_gen_pubkey() argument410 sg_init_one(&dst, host_key, host_key_len); in nvme_auth_gen_pubkey()
Completed in 23 milliseconds