TianoCore EDK2 master
Loading...
Searching...
No Matches
CcMeasurement.h
Go to the documentation of this file.
1
9#ifndef _CC_MEASUREMENT_PPI_H_
10#define _CC_MEASUREMENT_PPI_H_
11
13
14typedef struct _EDKII_CC_PPI EDKII_CC_PPI;
15
16//
17// This bit is shall be set when HashData is the pre-hash digest.
18//
19#define EDKII_CC_PRE_HASH 0x0000000000000001
20
21//
22// This bit is shall be set when HashData is the pre-hash digest and log only.
23//
24#define EDKII_CC_PRE_HASH_LOG_ONLY 0x0000000000000002
25
41typedef
44 IN EDKII_CC_PPI *This,
45 IN UINT64 Flags,
46 IN EFI_PHYSICAL_ADDRESS HashData,
47 IN UINTN HashDataLen,
48 IN CC_EVENT_HDR *NewEventHdr,
49 IN UINT8 *NewEventData
50 );
51
63typedef
66 IN EDKII_CC_PPI *This,
67 IN TCG_PCRINDEX PcrIndex,
68 OUT EFI_CC_MR_INDEX *MrIndex
69 );
70
72 EDKII_CC_HASH_LOG_EXTEND_EVENT HashLogExtendEvent;
73 EDKII_CC_MAP_PCR_TO_MR_INDEX MapPcrToMrIndex;
74};
75
76extern EFI_GUID gEdkiiCcPpiGuid;
77
78#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EDKII_CC_MAP_PCR_TO_MR_INDEX)(IN EDKII_CC_PPI *This, IN TCG_PCRINDEX PcrIndex, OUT EFI_CC_MR_INDEX *MrIndex)
Definition: CcMeasurement.h:65
EFI_STATUS(EFIAPI * EDKII_CC_HASH_LOG_EXTEND_EVENT)(IN EDKII_CC_PPI *This, IN UINT64 Flags, IN EFI_PHYSICAL_ADDRESS HashData, IN UINTN HashDataLen, IN CC_EVENT_HDR *NewEventHdr, IN UINT8 *NewEventData)
Definition: CcMeasurement.h:43
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213