Home | History | Annotate | Download | only in IScsiDxe

Lines Matching defs:AuthData

100   @param[in]   AuthData             iSCSI CHAP authentication data. 

110 IN ISCSI_CHAP_AUTH_DATA *AuthData,
120 SecretSize = (UINT32) AsciiStrLen (AuthData->AuthConfig->ReverseCHAPSecret);
122 AuthData->OutIdentifier,
123 AuthData->AuthConfig->ReverseCHAPSecret,
125 AuthData->OutChallenge,
126 AuthData->OutChallengeLength,
157 ISCSI_CHAP_AUTH_DATA *AuthData;
175 AuthData = &Session->AuthData.CHAP;
276 AuthData->InIdentifier = (UINT32) Result;
277 AuthData->InChallengeLength = ISCSI_CHAP_AUTH_MAX_LEN;
278 IScsiHexToBin ((UINT8 *) AuthData->InChallenge, &AuthData->InChallengeLength, Challenge);
280 AuthData->InIdentifier,
281 AuthData->AuthConfig->CHAPSecret,
282 (UINT32) AsciiStrLen (AuthData->AuthConfig->CHAPSecret),
283 AuthData->InChallenge,
284 AuthData->InChallengeLength,
285 AuthData->CHAPResponse
303 ASSERT (AuthData->AuthConfig->CHAPType == ISCSI_CHAP_MUTUAL);
323 Status = IScsiCHAPAuthTarget (AuthData, TargetRsp);
364 ISCSI_CHAP_AUTH_DATA *AuthData;
375 AuthData = &Session->AuthData.CHAP;
438 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_CHAP_NAME, (CHAR8 *) &AuthData->AuthConfig->CHAPName);
442 IScsiBinToHex ((UINT8 *) AuthData->CHAPResponse, ISCSI_CHAP_RSP_LEN, Response, &RspLen);
445 if (AuthData->AuthConfig->CHAPType == ISCSI_CHAP_MUTUAL) {
449 IScsiGenRandom ((UINT8 *) &AuthData->OutIdentifier, 1);
450 AsciiSPrint (ValueStr, sizeof (ValueStr), "%d", AuthData->OutIdentifier);
455 IScsiGenRandom ((UINT8 *) AuthData->OutChallenge, ISCSI_CHAP_RSP_LEN);
456 AuthData->OutChallengeLength = ISCSI_CHAP_RSP_LEN;
457 IScsiBinToHex ((UINT8 *) AuthData->OutChallenge, ISCSI_CHAP_RSP_LEN, Challenge, &ChallengeLen);