Searched refs:host_key (Results 1 – 9 of 9) sorted by relevance
194 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 …]
297 struct nvme_dhchap_key *host_key; member898 return ctrl->host_key != NULL && !nvmet_queue_tls_keyid(sq); in nvmet_has_auth()
159 if (!ctrl->host_key) { in nvmet_auth_reply()
43 u8 *host_key; member620 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 …]
629 struct nvme_dhchap_key *key, *host_key; in nvme_ctrl_dhchap_secret_store() local639 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()
381 struct nvme_dhchap_key *host_key; member
39 u8 *host_key, size_t host_key_len);
400 u8 *host_key, size_t host_key_len) in nvme_auth_gen_pubkey() argument413 sg_init_one(&dst, host_key, host_key_len); in nvme_auth_gen_pubkey()
661 __ATTR(host_key, 0444, uv_keys_host_key, NULL);