Searched refs:Md5Ctx (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/IScsiDxe/
H A DMd5.c178 @param[in, out] Md5Ctx It includes the data segment for Md5 transform.
182 IN OUT MD5_CTX *Md5Ctx
192 Data = (UINT32 *) Md5Ctx->M;
197 CopyMem (MedStates, Md5Ctx->States, MD5_HASHSIZE);
215 Md5Ctx->States[Index1] += MedStates[Index1];
227 @param[in, out] Md5Ctx The data structure of storing the original data
234 IN OUT MD5_CTX *Md5Ctx,
241 for (Limit = 64 - Md5Ctx->Count; DataLen >= 64 - Md5Ctx->Count; Limit = 64) {
242 CopyMem (Md5Ctx
233 MD5UpdateBlock( IN OUT MD5_CTX *Md5Ctx, IN CONST UINT8 *Data, IN UINTN DataLen ) argument
291 MD5Update( IN OUT MD5_CTX *Md5Ctx, IN VOID *Data, IN UINTN DataLen ) argument
318 MD5Final( IN OUT MD5_CTX *Md5Ctx, OUT UINT8 *HashVal ) argument
[all...]
H A DMd5.h36 @param[out] Md5Ctx The data structure of Md5.
42 OUT MD5_CTX *Md5Ctx
48 @param[in, out] Md5Ctx The data structure of storing the original data
58 IN OUT MD5_CTX *Md5Ctx,
67 @param[in, out] Md5Ctx The data structure of storing the original data
76 IN OUT MD5_CTX *Md5Ctx,
H A DIScsiCHAP.c43 MD5_CTX Md5Ctx; local
47 Status = MD5Init (&Md5Ctx);
53 MD5Update (&Md5Ctx, IdByte, 1);
62 MD5Update (&Md5Ctx, ChapSecret, SecretLength);
67 MD5Update (&Md5Ctx, ChapChallenge, ChallengeLength);
69 Status = MD5Final (&Md5Ctx, ChapResponse);
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IScsiDxe/
H A DIScsiCHAP.c45 VOID *Md5Ctx; local
54 Md5Ctx = AllocatePool (Md5ContextSize);
55 if (Md5Ctx == NULL) {
61 if (!Md5Init (Md5Ctx)) {
69 if (!Md5Update (Md5Ctx, IdByte, 1)) {
76 if (!Md5Update (Md5Ctx, ChapSecret, SecretLength)) {
83 if (!Md5Update (Md5Ctx, ChapChallenge, ChallengeLength)) {
87 if (Md5Final (Md5Ctx, ChapResponse)) {
92 FreePool (Md5Ctx);
/vbox/src/VBox/Runtime/common/checksum/
H A Dmanifest3.cpp63 RTMD5CONTEXT Md5Ctx; member in struct:RTMANIFESTHASHES
121 RTMd5Init(&pHashes->Md5Ctx);
144 RTMd5Update(&pHashes->Md5Ctx, pvBuf, cbBuf);
162 RTMd5Final(pHashes->abMd5Digest, &pHashes->Md5Ctx);

Completed in 140 milliseconds