Searched defs:Sha1Ctx (Results 1 - 4 of 4) sorted by relevance
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/TpmCommLib/ |
H A D | TpmComm.c | 35 VOID *Sha1Ctx; local 39 Sha1Ctx = AllocatePool (CtxSize); 40 ASSERT (Sha1Ctx != NULL); 42 Sha1Init (Sha1Ctx); 43 Sha1Update (Sha1Ctx, Data, DataLen); 44 Sha1Final (Sha1Ctx, (UINT8 *)Digest); 46 FreePool (Sha1Ctx);
|
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Application/Cryptest/ |
H A D | RsaVerify.c | 98 VOID *Sha1Ctx; local 308 Sha1Ctx = AllocatePool (CtxSize); 310 Status = Sha1Init (Sha1Ctx); 316 Status = Sha1Update (Sha1Ctx, RsaSignData, AsciiStrLen (RsaSignData)); 322 Status = Sha1Final (Sha1Ctx, HashValue); 328 FreePool (Sha1Ctx);
|
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeTpmMeasureBootLib/ |
H A D | DxeTpmMeasureBootLib.c | 278 VOID *Sha1Ctx; local 301 Sha1Ctx = NULL; 370 Sha1Ctx = AllocatePool (CtxSize); 371 if (Sha1Ctx == NULL) { 376 HashStatus = Sha1Init (Sha1Ctx); 406 HashStatus = Sha1Update (Sha1Ctx, HashBase, HashSize); 434 HashStatus = Sha1Update (Sha1Ctx, HashBase, HashSize); 458 HashStatus = Sha1Update (Sha1Ctx, HashBase, HashSize); 483 HashStatus = Sha1Update (Sha1Ctx, HashBase, HashSize); 555 HashStatus = Sha1Update (Sha1Ctx, HashBas [all...] |
/vbox/src/VBox/Runtime/common/checksum/ |
H A D | manifest3.cpp | 65 RTSHA1CONTEXT Sha1Ctx; member in struct:RTMANIFESTHASHES 123 RTSha1Init(&pHashes->Sha1Ctx); 146 RTSha1Update(&pHashes->Sha1Ctx, pvBuf, cbBuf); 164 RTSha1Final(&pHashes->Sha1Ctx, pHashes->abSha1Digest);
|
Completed in 642 milliseconds