mirror of https://github.com/acidanthera/audk.git
OvmfPkg: Add sp800155Event3 support
The signatures for event2 or event3 are now valid TCG SP800155 event types. Fixes uncrustify formatting. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Dionna Glaze <dionnaglaze@google.com>
This commit is contained in:
parent
7097c97bde
commit
17f333f2a4
|
@ -821,11 +821,16 @@ Is800155Event (
|
|||
{
|
||||
if ((((TCG_PCR_EVENT2_HDR *)NewEventHdr)->EventType == EV_NO_ACTION) &&
|
||||
(NewEventSize >= sizeof (TCG_Sp800_155_PlatformId_Event2)) &&
|
||||
(CompareMem (
|
||||
NewEventData,
|
||||
TCG_Sp800_155_PlatformId_Event2_SIGNATURE,
|
||||
sizeof (TCG_Sp800_155_PlatformId_Event2_SIGNATURE) - 1
|
||||
) == 0))
|
||||
((CompareMem (
|
||||
NewEventData,
|
||||
TCG_Sp800_155_PlatformId_Event2_SIGNATURE,
|
||||
sizeof (TCG_Sp800_155_PlatformId_Event2_SIGNATURE) - 1
|
||||
) == 0) ||
|
||||
(CompareMem (
|
||||
NewEventData,
|
||||
TCG_Sp800_155_PlatformId_Event3_SIGNATURE,
|
||||
sizeof (TCG_Sp800_155_PlatformId_Event3_SIGNATURE) - 1
|
||||
) == 0)))
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue