Searched refs:chap (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/nvme/host/ |
| H A D | auth.c | 124 struct nvme_dhchap_queue_context *chap) in nvme_auth_set_dhchap_negotiate_data() argument 126 struct nvmf_auth_dhchap_negotiate_data *data = chap->buf; in nvme_auth_set_dhchap_negotiate_data() 130 chap->status = NVME_AUTH_DHCHAP_FAILURE_INCORRECT_PAYLOAD; in nvme_auth_set_dhchap_negotiate_data() 133 memset((u8 *)chap->buf, 0, size); in nvme_auth_set_dhchap_negotiate_data() 136 data->t_id = cpu_to_le16(chap->transaction); in nvme_auth_set_dhchap_negotiate_data() 137 if (ctrl->opts->concat && chap->qid == 0) { in nvme_auth_set_dhchap_negotiate_data() 158 chap->sc_c = data->sc_c; in nvme_auth_set_dhchap_negotiate_data() 164 struct nvme_dhchap_queue_context *chap) in nvme_auth_process_dhchap_challenge() argument 166 struct nvmf_auth_dhchap_challenge_data *data = chap->buf; in nvme_auth_process_dhchap_challenge() 173 chap->status = NVME_AUTH_DHCHAP_FAILURE_INCORRECT_PAYLOAD; in nvme_auth_process_dhchap_challenge() [all …]
|
| /linux/drivers/target/iscsi/ |
| H A D | iscsi_target_auth.c | 46 struct iscsi_chap *chap = conn->auth_protocol; in chap_gen_challenge() local 48 challenge_asciihex = kzalloc(chap->challenge_len * 2 + 1, GFP_KERNEL); in chap_gen_challenge() 52 memset(chap->challenge, 0, MAX_CHAP_CHALLENGE_LEN); in chap_gen_challenge() 54 ret = get_random_bytes_wait(chap->challenge, chap->challenge_len); in chap_gen_challenge() 58 bin2hex(challenge_asciihex, chap->challenge, in chap_gen_challenge() 59 chap->challenge_len); in chap_gen_challenge() 146 struct iscsi_chap *chap; in chap_server_open() local 159 chap = conn->auth_protocol; in chap_server_open() 163 chap->digest_size = MD5_SIGNATURE_SIZE; in chap_server_open() 166 chap->digest_size = SHA1_SIGNATURE_SIZE; in chap_server_open() [all …]
|
| /linux/drivers/scsi/ |
| H A D | iscsi_boot_sysfs.c | 81 iscsi_boot_rd_attr(tgt_chap, chap-type, ISCSI_BOOT_TGT_CHAP_TYPE); 84 iscsi_boot_rd_attr(tgt_chap_name, chap-name, ISCSI_BOOT_TGT_CHAP_NAME); 85 iscsi_boot_rd_attr(tgt_chap_secret, chap-secret, ISCSI_BOOT_TGT_CHAP_SECRET); 86 iscsi_boot_rd_attr(tgt_chap_rev_name, rev-chap-name, 88 iscsi_boot_rd_attr(tgt_chap_rev_secret, rev-chap-name-secret,
|
| /linux/drivers/scsi/be2iscsi/ |
| H A D | be_main.c | 4941 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info() 4944 auth_data.chap.target_chap_name); in beiscsi_show_boot_tgt_info() 4948 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info() 4951 auth_data.chap.target_secret); in beiscsi_show_boot_tgt_info() 4955 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info() 4958 auth_data.chap.intr_chap_name); in beiscsi_show_boot_tgt_info() 4962 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info() 4965 auth_data.chap.intr_secret); in beiscsi_show_boot_tgt_info()
|
| H A D | be_cmds.h | 348 struct mgmt_chap_format chap; member
|
| /linux/drivers/scsi/qla4xxx/ |
| H A D | ql4_def.h | 541 struct ql4_chap_format chap; member
|