Searched refs:Tcg2Event (Results 1 – 2 of 2) sorted by relevance
124 EFI_TCG2_EVENT *Tcg2Event; in Tpm20MeasureAndLogData() local134 Tcg2Event = (EFI_TCG2_EVENT *) AllocateZeroPool (LogLen + sizeof (EFI_TCG2_EVENT)); in Tpm20MeasureAndLogData()135 if(Tcg2Event == NULL) { in Tpm20MeasureAndLogData()139 Tcg2Event->Size = (UINT32)LogLen + sizeof (EFI_TCG2_EVENT) - sizeof(Tcg2Event->Event); in Tpm20MeasureAndLogData()140 Tcg2Event->Header.HeaderSize = sizeof(EFI_TCG2_EVENT_HEADER); in Tpm20MeasureAndLogData()141 Tcg2Event->Header.HeaderVersion = EFI_TCG2_EVENT_HEADER_VERSION; in Tpm20MeasureAndLogData()142 Tcg2Event->Header.PCRIndex = PcrIndex; in Tpm20MeasureAndLogData()143 Tcg2Event->Header.EventType = EventType; in Tpm20MeasureAndLogData()144 CopyMem (&Tcg2Event->Event[0], EventLog, LogLen); in Tpm20MeasureAndLogData()151 Tcg2Event in Tpm20MeasureAndLogData()[all …]
142 EFI_TCG2_EVENT *Tcg2Event; in Tcg2MeasureGptTable() local215 …Tcg2Event = (EFI_TCG2_EVENT *) AllocateZeroPool (EventSize + sizeof (EFI_TCG2_EVENT) - sizeof(Tcg2… in Tcg2MeasureGptTable()216 if (Tcg2Event == NULL) { in Tcg2MeasureGptTable()222 Tcg2Event->Size = EventSize + sizeof (EFI_TCG2_EVENT) - sizeof(Tcg2Event->Event); in Tcg2MeasureGptTable()223 Tcg2Event->Header.HeaderSize = sizeof(EFI_TCG2_EVENT_HEADER); in Tcg2MeasureGptTable()224 Tcg2Event->Header.HeaderVersion = EFI_TCG2_EVENT_HEADER_VERSION; in Tcg2MeasureGptTable()225 Tcg2Event->Header.PCRIndex = 5; in Tcg2MeasureGptTable()226 Tcg2Event->Header.EventType = EV_EFI_GPT_EVENT; in Tcg2MeasureGptTable()227 GptData = (EFI_GPT_DATA *) Tcg2Event->Event; in Tcg2MeasureGptTable()259 Tcg2Event in Tcg2MeasureGptTable()[all …]