4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync The header file of CHAP configuration.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncCopyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncThis program and the accompanying materials
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncare licensed and made available under the terms and conditions of the BSD License
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncwhich accompanies this distribution. The full text of the license may be found at
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync/// MD5_HASHSIZE
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync CHAR8 ReverseCHAPSecret[ISCSI_CHAP_SECRET_STORAGE];
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync/// ISCSI CHAP Authentication Data
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync // Calculated CHAP Response (CHAP_R) value
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync // Auth-data to be sent out for mutual authentication
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function checks the received iSCSI Login Response during the security
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync negotiation stage.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] Conn The iSCSI connection.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS The Login Response passed the CHAP validation.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_OUT_OF_RESOURCES Failed to allocate memory.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_PROTOCOL_ERROR Some kind of protocol error happend.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval Others Other errors as indicated.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function fills the CHAP authentication information into the login PDU
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync during the security negotiation stage in the iSCSI connection login.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] Conn The iSCSI connection.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in, out] Pdu The PDU to send out.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS All check passed and the phase-related CHAP
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync authentication info is filled into the iSCSI PDU.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_OUT_OF_RESOURCES Failed to allocate memory.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_PROTOCOL_ERROR Some kind of protocol error happend.