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
12
#include <
Protocol/CcMeasurement.h
>
13
14
typedef
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
41
typedef
42
EFI_STATUS
43
(EFIAPI *
EDKII_CC_HASH_LOG_EXTEND_EVENT
)(
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
63
typedef
64
EFI_STATUS
65
(EFIAPI *
EDKII_CC_MAP_PCR_TO_MR_INDEX
)(
66
IN
EDKII_CC_PPI
*This,
67
IN
TCG_PCRINDEX PcrIndex,
68
OUT
EFI_CC_MR_INDEX *MrIndex
69
);
70
71
struct
_EDKII_CC_PPI
{
72
EDKII_CC_HASH_LOG_EXTEND_EVENT
HashLogExtendEvent;
73
EDKII_CC_MAP_PCR_TO_MR_INDEX
MapPcrToMrIndex;
74
};
75
76
extern
EFI_GUID
gEdkiiCcPpiGuid;
77
78
#endif
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
CcMeasurement.h
EDKII_CC_MAP_PCR_TO_MR_INDEX
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
EDKII_CC_HASH_LOG_EXTEND_EVENT
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
EFI_PHYSICAL_ADDRESS
UINT64 EFI_PHYSICAL_ADDRESS
Definition:
UefiBaseType.h:50
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
_EDKII_CC_PPI
Definition:
CcMeasurement.h:71
CC_EVENT_HDR
Definition:
CcMeasurement.h:268
GUID
Definition:
Base.h:213
SecurityPkg
Include
Ppi
CcMeasurement.h
Generated on Wed Feb 18 2026 23:59:45 for TianoCore EDK2 by
1.9.6