Searched refs:TcgPcrEvent2 (Results 1 – 2 of 2) sorted by relevance
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
D | Tcg2Dxe.c | 470 IN TCG_PCR_EVENT2 *TcgPcrEvent2 in DumpEvent2() argument 483 DEBUG ((EFI_D_INFO, " PCRIndex - %d\n", TcgPcrEvent2->PCRIndex)); in DumpEvent2() 484 DEBUG ((EFI_D_INFO, " EventType - 0x%08x\n", TcgPcrEvent2->EventType)); in DumpEvent2() 486 DEBUG ((EFI_D_INFO, " DigestCount: 0x%08x\n", TcgPcrEvent2->Digest.count)); in DumpEvent2() 488 DigestCount = TcgPcrEvent2->Digest.count; in DumpEvent2() 489 HashAlgo = TcgPcrEvent2->Digest.digests[0].hashAlg; in DumpEvent2() 490 DigestBuffer = (UINT8 *)&TcgPcrEvent2->Digest.digests[0].digest; in DumpEvent2() 508 CopyMem (&EventSize, DigestBuffer, sizeof(TcgPcrEvent2->EventSize)); in DumpEvent2() 510 EventBuffer = DigestBuffer + sizeof(TcgPcrEvent2->EventSize); in DumpEvent2() 523 IN TCG_PCR_EVENT2 *TcgPcrEvent2 in GetPcrEvent2Size() argument [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Pei/ |
D | Tcg2Pei.c | 439 TCG_PCR_EVENT2 *TcgPcrEvent2; in LogHashEvent() local 469 …sizeof(TcgPcrEvent2->PCRIndex) + sizeof(TcgPcrEvent2->EventType) + GetDigestListSize (DigestList) … in LogHashEvent() 476 TcgPcrEvent2 = HobData; in LogHashEvent() 477 TcgPcrEvent2->PCRIndex = NewEventHdr->PCRIndex; in LogHashEvent() 478 TcgPcrEvent2->EventType = NewEventHdr->EventType; in LogHashEvent() 479 DigestBuffer = (UINT8 *)&TcgPcrEvent2->Digest; in LogHashEvent() 481 CopyMem (DigestBuffer, &NewEventHdr->EventSize, sizeof(TcgPcrEvent2->EventSize)); in LogHashEvent() 482 DigestBuffer = DigestBuffer + sizeof(TcgPcrEvent2->EventSize); in LogHashEvent()
|