Home
last modified time | relevance | path

Searched refs:dhgid (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/nvme/target/
H A Dfabrics-cmd-auth.c38 int i, hash_id = 0, fallback_hash_id = 0, dhgid, fallback_dhgid; in nvmet_auth_negotiate() local
79 dhgid = -1; in nvmet_auth_negotiate()
85 dhgid = tmp_dhgid; in nvmet_auth_negotiate()
95 if (dhgid < 0) { in nvmet_auth_negotiate()
381 data->dhgid = ctrl->dh_gid; in nvmet_auth_challenge()
H A Dnvmet.h739 static inline const char *nvmet_dhchap_dhgroup_name(u8 dhgid) { return NULL; } in nvmet_dhchap_dhgroup_name() argument
/openbmc/linux/drivers/nvme/host/
H A Dauth.c158 const char *gid_name = nvme_auth_dhgroup_name(data->dhgid); in nvme_auth_process_dhchap_challenge()
217 kpp_name = nvme_auth_dhgroup_kpp(data->dhgid); in nvme_auth_process_dhchap_challenge()
221 chap->qid, data->dhgid); in nvme_auth_process_dhchap_challenge()
227 if (chap->dhgroup_id == data->dhgid && in nvme_auth_process_dhchap_challenge()
228 (data->dhgid == NVME_AUTH_DHGROUP_NULL || chap->dh_tfm)) { in nvme_auth_process_dhchap_challenge()
241 if (data->dhgid != NVME_AUTH_DHGROUP_NULL) { in nvme_auth_process_dhchap_challenge()
270 chap->dhgroup_id = data->dhgid; in nvme_auth_process_dhchap_challenge()
/openbmc/linux/include/linux/
H A Dnvme.h1687 __u8 dhgid; member