Searched defs:HashCtx (Results 1 - 4 of 4) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Application/Cryptest/
H A DHashVerify.c70 VOID *HashCtx; local
85 HashCtx = AllocatePool (CtxSize);
88 Status = Md4Init (HashCtx);
95 Status = Md4Update (HashCtx, HashData, DataSize);
102 Status = Md4Final (HashCtx, Digest);
108 FreePool (HashCtx);
125 HashCtx = AllocatePool (CtxSize);
128 Status = Md5Init (HashCtx);
135 Status = Md5Update (HashCtx, HashData, DataSize);
142 Status = Md5Final (HashCtx, Diges
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeImageVerificationLib/
H A DDxeImageVerificationLib.c246 VOID *HashCtx; local
257 HashCtx = NULL;
282 HashCtx = AllocatePool (CtxSize);
283 if (HashCtx == NULL) {
290 Status = mHash[HashAlg].HashInit(HashCtx);
326 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBase, HashSize);
354 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBase, HashSize);
378 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBase, HashSize);
403 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBase, HashSize);
476 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBas
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
H A DSecureBootConfigImpl.c973 VOID *HashCtx; local
982 HashCtx = NULL;
1005 HashCtx = AllocatePool (CtxSize);
1006 ASSERT (HashCtx != NULL);
1011 Status = mHash[HashAlg].HashInit(HashCtx);
1037 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBase, HashSize);
1060 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBase, HashSize);
1082 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBase, HashSize);
1147 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBase, HashSize);
1181 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBas
[all...]
/vbox/src/VBox/Runtime/common/ldr/
H A DldrPE.cpp231 RTLDRPEHASHCTXUNION HashCtx; member in struct:RTLDRPESIGNATURE
2537 RTLDRPEHASHCTXUNION HashCtx; local
2538 rc = rtLdrPE_HashInit(&HashCtx, enmDigest);
2550 rtLdrPE_HashUpdate(&HashCtx, enmDigest, pbCur, cbChunk);
2569 rtLdrPE_HashUpdate(&HashCtx, enmDigest, pbCur, cbChunk);
2585 rtLdrPE_HashUpdate(&HashCtx, enmDigest, pbCur, cbLeft);
2587 rtLdrPE_HashUpdate(&HashCtx, enmDigest, &g_abRTZero4K[cbPageInFile], _4K - cbPageInFile);
2593 rtLdrPE_HashFinalize(&HashCtx, enmDigest, &HashRes);
2658 &pSignature->HashCtx, &pSignature->HashRes, pErrInfo);
2757 RTLDRPEHASHCTXUNION HashCtx; local
[all...]

Completed in 186 milliseconds