chap 348 drivers/scsi/be2iscsi/be_cmds.h struct mgmt_chap_format chap; chap 4964 drivers/scsi/be2iscsi/be_main.c boot_conn->negotiated_login_options.auth_data.chap. chap 4967 drivers/scsi/be2iscsi/be_main.c auth_data.chap.target_chap_name); chap 4971 drivers/scsi/be2iscsi/be_main.c boot_conn->negotiated_login_options.auth_data.chap. chap 4974 drivers/scsi/be2iscsi/be_main.c auth_data.chap.target_secret); chap 4978 drivers/scsi/be2iscsi/be_main.c boot_conn->negotiated_login_options.auth_data.chap. chap 4981 drivers/scsi/be2iscsi/be_main.c auth_data.chap.intr_chap_name); chap 4985 drivers/scsi/be2iscsi/be_main.c boot_conn->negotiated_login_options.auth_data.chap. chap 4988 drivers/scsi/be2iscsi/be_main.c auth_data.chap.intr_secret); chap 81 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_rd_attr(tgt_chap, chap-type, ISCSI_BOOT_TGT_CHAP_TYPE); chap 84 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_rd_attr(tgt_chap_name, chap-name, ISCSI_BOOT_TGT_CHAP_NAME); chap 85 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_rd_attr(tgt_chap_secret, chap-secret, ISCSI_BOOT_TGT_CHAP_SECRET); chap 86 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_rd_attr(tgt_chap_rev_name, rev-chap-name, chap 88 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_rd_attr(tgt_chap_rev_secret, rev-chap-name-secret, chap 533 drivers/scsi/qla4xxx/ql4_def.h struct ql4_chap_format chap; chap 5807 drivers/scsi/qla4xxx/ql4_os.c boot_conn->chap.target_chap_name_length, chap 5808 drivers/scsi/qla4xxx/ql4_os.c (char *)&boot_conn->chap.target_chap_name); chap 5812 drivers/scsi/qla4xxx/ql4_os.c boot_conn->chap.target_secret_length, chap 5813 drivers/scsi/qla4xxx/ql4_os.c (char *)&boot_conn->chap.target_secret); chap 5817 drivers/scsi/qla4xxx/ql4_os.c boot_conn->chap.intr_chap_name_length, chap 5818 drivers/scsi/qla4xxx/ql4_os.c (char *)&boot_conn->chap.intr_chap_name); chap 5822 drivers/scsi/qla4xxx/ql4_os.c boot_conn->chap.intr_secret_length, chap 5823 drivers/scsi/qla4xxx/ql4_os.c (char *)&boot_conn->chap.intr_secret); chap 6100 drivers/scsi/qla4xxx/ql4_os.c ret = qla4xxx_get_chap(ha, (char *)&boot_conn->chap. chap 6102 drivers/scsi/qla4xxx/ql4_os.c (char *)&boot_conn->chap.target_secret, chap 6110 drivers/scsi/qla4xxx/ql4_os.c boot_conn->chap.target_chap_name_length = QL4_CHAP_MAX_NAME_LEN; chap 6111 drivers/scsi/qla4xxx/ql4_os.c boot_conn->chap.target_secret_length = QL4_CHAP_MAX_SECRET_LEN; chap 6119 drivers/scsi/qla4xxx/ql4_os.c (char *)&boot_conn->chap.intr_chap_name, chap 6120 drivers/scsi/qla4xxx/ql4_os.c (char *)&boot_conn->chap.intr_secret); chap 6128 drivers/scsi/qla4xxx/ql4_os.c boot_conn->chap.intr_chap_name_length = QL4_CHAP_MAX_NAME_LEN; chap 6129 drivers/scsi/qla4xxx/ql4_os.c boot_conn->chap.intr_secret_length = QL4_CHAP_MAX_SECRET_LEN; chap 29 drivers/target/iscsi/iscsi_target_auth.c struct iscsi_chap *chap = conn->auth_protocol; chap 33 drivers/target/iscsi/iscsi_target_auth.c ret = get_random_bytes_wait(chap->challenge, CHAP_CHALLENGE_LENGTH); chap 36 drivers/target/iscsi/iscsi_target_auth.c bin2hex(challenge_asciihex, chap->challenge, chap 98 drivers/target/iscsi/iscsi_target_auth.c struct iscsi_chap *chap; chap 111 drivers/target/iscsi/iscsi_target_auth.c chap = conn->auth_protocol; chap 121 drivers/target/iscsi/iscsi_target_auth.c chap->digest_type = CHAP_DIGEST_MD5; chap 122 drivers/target/iscsi/iscsi_target_auth.c pr_debug("[server] Sending CHAP_A=%d\n", chap->digest_type); chap 134 drivers/target/iscsi/iscsi_target_auth.c chap->id = conn->tpg->tpg_chap_id++; chap 135 drivers/target/iscsi/iscsi_target_auth.c *aic_len += sprintf(aic_str + *aic_len, "CHAP_I=%d", chap->id); chap 137 drivers/target/iscsi/iscsi_target_auth.c pr_debug("[server] Sending CHAP_I=%d\n", chap->id); chap 146 drivers/target/iscsi/iscsi_target_auth.c return chap; chap 166 drivers/target/iscsi/iscsi_target_auth.c struct iscsi_chap *chap = conn->auth_protocol; chap 254 drivers/target/iscsi/iscsi_target_auth.c ret = crypto_shash_update(desc, &chap->id, 1); chap 267 drivers/target/iscsi/iscsi_target_auth.c ret = crypto_shash_finup(desc, chap->challenge, chap 348 drivers/target/iscsi/iscsi_target_auth.c if (!memcmp(challenge_binhex, chap->challenge, CHAP_CHALLENGE_LENGTH)) { chap 418 drivers/target/iscsi/iscsi_target_auth.c struct iscsi_chap *chap = conn->auth_protocol; chap 420 drivers/target/iscsi/iscsi_target_auth.c switch (chap->digest_type) { chap 428 drivers/target/iscsi/iscsi_target_auth.c chap->digest_type); chap 441 drivers/target/iscsi/iscsi_target_auth.c struct iscsi_chap *chap = conn->auth_protocol; chap 443 drivers/target/iscsi/iscsi_target_auth.c if (!chap) { chap 444 drivers/target/iscsi/iscsi_target_auth.c chap = chap_server_open(conn, auth, in_text, out_text, out_len); chap 445 drivers/target/iscsi/iscsi_target_auth.c if (!chap) chap 447 drivers/target/iscsi/iscsi_target_auth.c chap->chap_state = CHAP_STAGE_SERVER_AIC; chap 449 drivers/target/iscsi/iscsi_target_auth.c } else if (chap->chap_state == CHAP_STAGE_SERVER_AIC) { chap 457 drivers/target/iscsi/iscsi_target_auth.c chap->chap_state = CHAP_STAGE_SERVER_NR;