Home
last modified time | relevance | path

Searched refs:ISCSI_CHAP_RSP_LEN (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiCHAP.c93 UINT8 VerifyRsp[ISCSI_CHAP_RSP_LEN]; in IScsiCHAPAuthTarget()
107 if (CompareMem (VerifyRsp, TargetResponse, ISCSI_CHAP_RSP_LEN) != 0) { in IScsiCHAPAuthTarget()
142 UINT8 TargetRsp[ISCSI_CHAP_RSP_LEN]; in IScsiCHAPOnRspReceived()
279 RspLen = ISCSI_CHAP_RSP_LEN; in IScsiCHAPOnRspReceived()
340 RspLen = 2 * ISCSI_CHAP_RSP_LEN + 3; in IScsiCHAPToSendReq()
346 ChallengeLen = 2 * ISCSI_CHAP_RSP_LEN + 3; in IScsiCHAPToSendReq()
395 IScsiBinToHex ((UINT8 *) AuthData->CHAPResponse, ISCSI_CHAP_RSP_LEN, Response, &RspLen); in IScsiCHAPToSendReq()
408 IScsiGenRandom ((UINT8 *) AuthData->OutChallenge, ISCSI_CHAP_RSP_LEN); in IScsiCHAPToSendReq()
409 AuthData->OutChallengeLength = ISCSI_CHAP_RSP_LEN; in IScsiCHAPToSendReq()
410 … IScsiBinToHex ((UINT8 *) AuthData->OutChallenge, ISCSI_CHAP_RSP_LEN, Challenge, &ChallengeLen); in IScsiCHAPToSendReq()
DIScsiCHAP.h32 #define ISCSI_CHAP_RSP_LEN 16 macro
63 UINT8 CHAPResponse[ISCSI_CHAP_RSP_LEN];
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
DIScsiCHAP.c116 UINT8 VerifyRsp[ISCSI_CHAP_RSP_LEN]; in IScsiCHAPAuthTarget()
130 if (CompareMem (VerifyRsp, TargetResponse, ISCSI_CHAP_RSP_LEN) != 0) { in IScsiCHAPAuthTarget()
167 UINT8 TargetRsp[ISCSI_CHAP_RSP_LEN]; in IScsiCHAPOnRspReceived()
317 RspLen = ISCSI_CHAP_RSP_LEN; in IScsiCHAPOnRspReceived()
382 RspLen = 2 * ISCSI_CHAP_RSP_LEN + 3; in IScsiCHAPToSendReq()
388 ChallengeLen = 2 * ISCSI_CHAP_RSP_LEN + 3; in IScsiCHAPToSendReq()
442 IScsiBinToHex ((UINT8 *) AuthData->CHAPResponse, ISCSI_CHAP_RSP_LEN, Response, &RspLen); in IScsiCHAPToSendReq()
455 IScsiGenRandom ((UINT8 *) AuthData->OutChallenge, ISCSI_CHAP_RSP_LEN); in IScsiCHAPToSendReq()
456 AuthData->OutChallengeLength = ISCSI_CHAP_RSP_LEN; in IScsiCHAPToSendReq()
457 … IScsiBinToHex ((UINT8 *) AuthData->OutChallenge, ISCSI_CHAP_RSP_LEN, Challenge, &ChallengeLen); in IScsiCHAPToSendReq()
DIScsiCHAP.h32 #define ISCSI_CHAP_RSP_LEN 16 macro
63 UINT8 CHAPResponse[ISCSI_CHAP_RSP_LEN];