Searched refs:chap (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/nvme/host/ |
D | auth.c | 110 struct nvme_dhchap_queue_context *chap) in nvme_auth_set_dhchap_negotiate_data() argument 112 struct nvmf_auth_dhchap_negotiate_data *data = chap->buf; in nvme_auth_set_dhchap_negotiate_data() 115 if (chap->buf_size < size) { in nvme_auth_set_dhchap_negotiate_data() 116 chap->status = NVME_AUTH_DHCHAP_FAILURE_INCORRECT_PAYLOAD; in nvme_auth_set_dhchap_negotiate_data() 119 memset((u8 *)chap->buf, 0, size); in nvme_auth_set_dhchap_negotiate_data() 122 data->t_id = cpu_to_le16(chap->transaction); in nvme_auth_set_dhchap_negotiate_data() 142 struct nvme_dhchap_queue_context *chap) in nvme_auth_process_dhchap_challenge() argument 144 struct nvmf_auth_dhchap_challenge_data *data = chap->buf; in nvme_auth_process_dhchap_challenge() 150 if (chap->buf_size < size) { in nvme_auth_process_dhchap_challenge() 151 chap->status = NVME_AUTH_DHCHAP_FAILURE_INCORRECT_PAYLOAD; in nvme_auth_process_dhchap_challenge() [all …]
|
/linux-6.1.9/drivers/target/iscsi/ |
D | iscsi_target_auth.c | 45 struct iscsi_chap *chap = conn->auth_protocol; in chap_gen_challenge() local 47 challenge_asciihex = kzalloc(chap->challenge_len * 2 + 1, GFP_KERNEL); in chap_gen_challenge() 51 memset(chap->challenge, 0, MAX_CHAP_CHALLENGE_LEN); in chap_gen_challenge() 53 ret = get_random_bytes_wait(chap->challenge, chap->challenge_len); in chap_gen_challenge() 57 bin2hex(challenge_asciihex, chap->challenge, in chap_gen_challenge() 58 chap->challenge_len); in chap_gen_challenge() 145 struct iscsi_chap *chap; in chap_server_open() local 158 chap = conn->auth_protocol; in chap_server_open() 162 chap->digest_size = MD5_SIGNATURE_SIZE; in chap_server_open() 165 chap->digest_size = SHA1_SIGNATURE_SIZE; in chap_server_open() [all …]
|
/linux-6.1.9/drivers/scsi/ |
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-6.1.9/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 5826 boot_conn->chap.target_chap_name_length, in qla4xxx_show_boot_tgt_info() 5827 (char *)&boot_conn->chap.target_chap_name); in qla4xxx_show_boot_tgt_info() 5831 boot_conn->chap.target_secret_length, in qla4xxx_show_boot_tgt_info() 5832 (char *)&boot_conn->chap.target_secret); in qla4xxx_show_boot_tgt_info() 5836 boot_conn->chap.intr_chap_name_length, in qla4xxx_show_boot_tgt_info() 5837 (char *)&boot_conn->chap.intr_chap_name); in qla4xxx_show_boot_tgt_info() 5841 boot_conn->chap.intr_secret_length, in qla4xxx_show_boot_tgt_info() 5842 (char *)&boot_conn->chap.intr_secret); in qla4xxx_show_boot_tgt_info() 6119 ret = qla4xxx_get_chap(ha, (char *)&boot_conn->chap. in qla4xxx_get_boot_target() 6121 (char *)&boot_conn->chap.target_secret, in qla4xxx_get_boot_target() [all …]
|
D | ql4_def.h | 542 struct ql4_chap_format chap; member
|
/linux-6.1.9/drivers/scsi/be2iscsi/ |
D | be_main.c | 4955 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info() 4958 auth_data.chap.target_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.target_secret); in beiscsi_show_boot_tgt_info() 4969 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info() 4972 auth_data.chap.intr_chap_name); in beiscsi_show_boot_tgt_info() 4976 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info() 4979 auth_data.chap.intr_secret); in beiscsi_show_boot_tgt_info()
|
D | be_cmds.h | 348 struct mgmt_chap_format chap; member
|