Searched refs:chap (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/nvme/host/ |
D | auth.c | 121 struct nvme_dhchap_queue_context *chap) in nvme_auth_set_dhchap_negotiate_data() argument 123 struct nvmf_auth_dhchap_negotiate_data *data = chap->buf; in nvme_auth_set_dhchap_negotiate_data() 127 chap->status = NVME_AUTH_DHCHAP_FAILURE_INCORRECT_PAYLOAD; in nvme_auth_set_dhchap_negotiate_data() 130 memset((u8 *)chap->buf, 0, size); in nvme_auth_set_dhchap_negotiate_data() 133 data->t_id = cpu_to_le16(chap->transaction); in nvme_auth_set_dhchap_negotiate_data() 153 struct nvme_dhchap_queue_context *chap) in nvme_auth_process_dhchap_challenge() argument 155 struct nvmf_auth_dhchap_challenge_data *data = chap->buf; in nvme_auth_process_dhchap_challenge() 162 chap->status = NVME_AUTH_DHCHAP_FAILURE_INCORRECT_PAYLOAD; in nvme_auth_process_dhchap_challenge() 170 chap->qid, data->hashid); in nvme_auth_process_dhchap_challenge() 171 chap->status = NVME_AUTH_DHCHAP_FAILURE_HASH_UNUSABLE; in nvme_auth_process_dhchap_challenge() [all …]
|
/linux-6.6.21/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.6.21/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.6.21/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 5836 boot_conn->chap.target_chap_name_length, in qla4xxx_show_boot_tgt_info() 5837 (char *)&boot_conn->chap.target_chap_name); in qla4xxx_show_boot_tgt_info() 5841 boot_conn->chap.target_secret_length, in qla4xxx_show_boot_tgt_info() 5842 (char *)&boot_conn->chap.target_secret); in qla4xxx_show_boot_tgt_info() 5846 boot_conn->chap.intr_chap_name_length, in qla4xxx_show_boot_tgt_info() 5847 (char *)&boot_conn->chap.intr_chap_name); in qla4xxx_show_boot_tgt_info() 5851 boot_conn->chap.intr_secret_length, in qla4xxx_show_boot_tgt_info() 5852 (char *)&boot_conn->chap.intr_secret); in qla4xxx_show_boot_tgt_info() 6129 ret = qla4xxx_get_chap(ha, (char *)&boot_conn->chap. in qla4xxx_get_boot_target() 6131 (char *)&boot_conn->chap.target_secret, in qla4xxx_get_boot_target() [all …]
|
D | ql4_def.h | 541 struct ql4_chap_format chap; member
|
/linux-6.6.21/drivers/scsi/be2iscsi/ |
D | be_main.c | 4956 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info() 4959 auth_data.chap.target_chap_name); in beiscsi_show_boot_tgt_info() 4963 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info() 4966 auth_data.chap.target_secret); in beiscsi_show_boot_tgt_info() 4970 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info() 4973 auth_data.chap.intr_chap_name); in beiscsi_show_boot_tgt_info() 4977 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info() 4980 auth_data.chap.intr_secret); in beiscsi_show_boot_tgt_info()
|
D | be_cmds.h | 348 struct mgmt_chap_format chap; member
|