57 if (EFI_ERROR (Status)) {
61 TcgEventHdr.PCRIndex = PcrIndex;
62 TcgEventHdr.EventType = EventType;
63 TcgEventHdr.EventSize = LogLen;
65 Status = TcgPpi->HashLogExtendEvent (
EFI_STATUS EFIAPI PeiServicesLocatePpi(IN CONST EFI_GUID *Guid, IN UINTN Instance, IN OUT EFI_PEI_PPI_DESCRIPTOR **PpiDescriptor, IN OUT VOID **Ppi)
EFI_STATUS EFIAPI TpmMeasureAndLogData(IN UINT32 PcrIndex, IN UINT32 EventType, IN VOID *EventLog, IN UINT32 LogLen, IN VOID *HashData, IN UINT64 HashDataLen)