@retval EFI_SUCCESS The expected hash value was caculatedly successfully.\r
@retval EFI_PROTOCOL_ERROR The length of the secret should be at least the \r
length of the hash value for the hashing algorithm chosen.\r
- @retval Others Some unexpected error happened. \r
+ @retval Others Other errors as indicated. \r
**/\r
EFI_STATUS\r
IScsiCHAPCalculateResponse (\r
\r
@retval EFI_SUCCESS The response from target passed authentication.\r
@retval EFI_SECURITY_VIOLATION The response from target was not expected value.\r
- @retval Others Some unexpected error happened.\r
+ @retval Others Other errors as indicated.\r
**/\r
EFI_STATUS\r
IScsiCHAPAuthTarget (\r
negotiation stage.\r
\r
@param[in] Conn The iSCSI connection.\r
- @param[in] Transit The transit flag of the latest iSCSI Login Response.\r
\r
@retval EFI_SUCCESS The Login Response passed the CHAP validation.\r
@retval EFI_OUT_OF_RESOURCES Failed to allocate memory.\r
@retval EFI_PROTOCOL_ERROR Some kind of protocol error happend.\r
- @retval Others Some unexpected error happend.\r
+ @retval Others Other errors as indicated.\r
**/\r
EFI_STATUS\r
IScsiCHAPOnRspReceived (\r
- IN ISCSI_CONNECTION *Conn,\r
- IN BOOLEAN Transit\r
+ IN ISCSI_CONNECTION *Conn\r
)\r
{\r
EFI_STATUS Status;\r
This function fills the CHAP authentication information into the login PDU\r
during the security negotiation stage in the iSCSI connection login.\r
\r
- @param[in] Conn The iSCSI connection.\r
- @param[in] Pdu The PDU to send out.\r
+ @param[in] Conn The iSCSI connection.\r
+ @param[in, out] Pdu The PDU to send out.\r
\r
@retval EFI_SUCCESS All check passed and the phase-related CHAP\r
authentication info is filled into the iSCSI PDU.\r
**/\r
EFI_STATUS\r
IScsiCHAPToSendReq (\r
- IN ISCSI_CONNECTION *Conn,\r
- IN NET_BUF *Pdu\r
+ IN ISCSI_CONNECTION *Conn,\r
+ IN OUT NET_BUF *Pdu\r
)\r
{\r
EFI_STATUS Status;\r