Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/target/iscsi/
A Discsi_target_auth.c45 struct iscsi_chap *chap = conn->auth_protocol; in chap_gen_challenge()
133 kfree(conn->auth_protocol); in chap_close()
134 conn->auth_protocol = NULL; in chap_close()
154 conn->auth_protocol = kzalloc(sizeof(struct iscsi_chap), GFP_KERNEL); in chap_server_open()
155 if (!conn->auth_protocol) in chap_server_open()
158 chap = conn->auth_protocol; in chap_server_open()
258 struct iscsi_chap *chap = conn->auth_protocol; in chap_server_compute_hash()
579 struct iscsi_chap *chap = conn->auth_protocol; in chap_main_loop()
A Discsi_target_nego.c156 kfree(conn->auth_protocol); in iscsi_remove_failed_auth_entry()
/linux-6.3-rc2/drivers/nvme/target/
A Dfabrics-cmd-auth.c42 data->sc_c, data->napd, data->auth_protocol[0].dhchap.authid, in nvmet_auth_negotiate()
43 data->auth_protocol[0].dhchap.halen, in nvmet_auth_negotiate()
44 data->auth_protocol[0].dhchap.dhlen); in nvmet_auth_negotiate()
52 if (data->auth_protocol[0].dhchap.authid != in nvmet_auth_negotiate()
56 for (i = 0; i < data->auth_protocol[0].dhchap.halen; i++) { in nvmet_auth_negotiate()
57 u8 host_hmac_id = data->auth_protocol[0].dhchap.idlist[i]; in nvmet_auth_negotiate()
81 for (i = 0; i < data->auth_protocol[0].dhchap.dhlen; i++) { in nvmet_auth_negotiate()
82 int tmp_dhgid = data->auth_protocol[0].dhchap.idlist[i + 30]; in nvmet_auth_negotiate()
/linux-6.3-rc2/drivers/nvme/host/
A Dauth.c136 data->auth_protocol[0].dhchap.authid = NVME_AUTH_DHCHAP_AUTH_ID; in nvme_auth_set_dhchap_negotiate_data()
137 data->auth_protocol[0].dhchap.halen = 3; in nvme_auth_set_dhchap_negotiate_data()
138 data->auth_protocol[0].dhchap.dhlen = 6; in nvme_auth_set_dhchap_negotiate_data()
139 data->auth_protocol[0].dhchap.idlist[0] = NVME_AUTH_HASH_SHA256; in nvme_auth_set_dhchap_negotiate_data()
140 data->auth_protocol[0].dhchap.idlist[1] = NVME_AUTH_HASH_SHA384; in nvme_auth_set_dhchap_negotiate_data()
141 data->auth_protocol[0].dhchap.idlist[2] = NVME_AUTH_HASH_SHA512; in nvme_auth_set_dhchap_negotiate_data()
142 data->auth_protocol[0].dhchap.idlist[30] = NVME_AUTH_DHGROUP_NULL; in nvme_auth_set_dhchap_negotiate_data()
143 data->auth_protocol[0].dhchap.idlist[31] = NVME_AUTH_DHGROUP_2048; in nvme_auth_set_dhchap_negotiate_data()
144 data->auth_protocol[0].dhchap.idlist[32] = NVME_AUTH_DHGROUP_3072; in nvme_auth_set_dhchap_negotiate_data()
145 data->auth_protocol[0].dhchap.idlist[33] = NVME_AUTH_DHGROUP_4096; in nvme_auth_set_dhchap_negotiate_data()
[all …]
/linux-6.3-rc2/include/target/iscsi/
A Discsi_target_core.h596 void *auth_protocol; member
/linux-6.3-rc2/include/linux/
A Dnvme.h1636 union nvmf_auth_protocol auth_protocol[]; member

Completed in 24 milliseconds