Home
last modified time | relevance | path

Searched refs:auth_protocol (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/target/iscsi/
H A Discsi_target_auth.c46 struct iscsi_chap *chap = conn->auth_protocol; in chap_gen_challenge()
134 kfree(conn->auth_protocol); in chap_close()
135 conn->auth_protocol = NULL; in chap_close()
155 conn->auth_protocol = kzalloc_obj(struct iscsi_chap); in chap_server_open()
156 if (!conn->auth_protocol) in chap_server_open()
159 chap = conn->auth_protocol; in chap_server_open()
259 struct iscsi_chap *chap = conn->auth_protocol; in chap_server_compute_hash()
580 struct iscsi_chap *chap = conn->auth_protocol; in chap_main_loop()
H A Discsi_target_nego.c156 kfree(conn->auth_protocol); in iscsi_remove_failed_auth_entry()
/linux/drivers/nvme/target/
H A Dfabrics-cmd-auth.c41 data->sc_c, data->napd, data->auth_protocol[0].dhchap.authid, in nvmet_auth_negotiate()
42 data->auth_protocol[0].dhchap.halen, in nvmet_auth_negotiate()
43 data->auth_protocol[0].dhchap.dhlen); in nvmet_auth_negotiate()
70 if (data->auth_protocol[0].dhchap.authid != in nvmet_auth_negotiate()
74 for (i = 0; i < data->auth_protocol[0].dhchap.halen; i++) { in nvmet_auth_negotiate()
75 u8 host_hmac_id = data->auth_protocol[0].dhchap.idlist[i]; in nvmet_auth_negotiate()
98 for (i = 0; i < data->auth_protocol[0].dhchap.dhlen; i++) { in nvmet_auth_negotiate()
99 int tmp_dhgid = data->auth_protocol[0].dhchap.idlist[i + 30]; in nvmet_auth_negotiate()
/linux/drivers/nvme/host/
H A Dauth.c127 u8 *idlist = data->auth_protocol[0].dhchap.idlist; in nvme_auth_set_dhchap_negotiate_data()
146 data->auth_protocol[0].dhchap.authid = NVME_AUTH_DHCHAP_AUTH_ID; in nvme_auth_set_dhchap_negotiate_data()
147 data->auth_protocol[0].dhchap.halen = 3; in nvme_auth_set_dhchap_negotiate_data()
158 data->auth_protocol[0].dhchap.dhlen = in nvme_auth_set_dhchap_negotiate_data()
/linux/include/target/iscsi/
H A Discsi_target_core.h593 void *auth_protocol; member