SecurityPkg: Recognize sp800155Event3 event
The signatures for event2 or event3 are now valid TCG SP800155 event types. Fixes uncrustify formatting. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Dionna Glaze <dionnaglaze@google.com>
This commit is contained in:
		
				
					committed by
					
						
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							370c55b2ba
						
					
				
				
					commit
					7097c97bde
				
			@@ -812,11 +812,16 @@ Is800155Event (
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  if ((((TCG_PCR_EVENT2_HDR *)NewEventHdr)->EventType == EV_NO_ACTION) &&
 | 
					  if ((((TCG_PCR_EVENT2_HDR *)NewEventHdr)->EventType == EV_NO_ACTION) &&
 | 
				
			||||||
      (NewEventSize >= sizeof (TCG_Sp800_155_PlatformId_Event2)) &&
 | 
					      (NewEventSize >= sizeof (TCG_Sp800_155_PlatformId_Event2)) &&
 | 
				
			||||||
      (CompareMem (
 | 
					      ((CompareMem (
 | 
				
			||||||
          NewEventData,
 | 
					          NewEventData,
 | 
				
			||||||
          TCG_Sp800_155_PlatformId_Event2_SIGNATURE,
 | 
					          TCG_Sp800_155_PlatformId_Event2_SIGNATURE,
 | 
				
			||||||
          sizeof (TCG_Sp800_155_PlatformId_Event2_SIGNATURE) - 1
 | 
					          sizeof (TCG_Sp800_155_PlatformId_Event2_SIGNATURE) - 1
 | 
				
			||||||
         ) == 0))
 | 
					          ) == 0) ||
 | 
				
			||||||
 | 
					       (CompareMem (
 | 
				
			||||||
 | 
					          NewEventData,
 | 
				
			||||||
 | 
					          TCG_Sp800_155_PlatformId_Event3_SIGNATURE,
 | 
				
			||||||
 | 
					          sizeof (TCG_Sp800_155_PlatformId_Event3_SIGNATURE) - 1
 | 
				
			||||||
 | 
					          ) == 0)))
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    return TRUE;
 | 
					    return TRUE;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user