XenevaOS
Loading...
Searching...
No Matches
TcgService.h
Go to the documentation of this file.
1
16#ifndef _TCG_SERVICE_PROTOCOL_H_
17#define _TCG_SERVICE_PROTOCOL_H_
18
20
21#define EFI_TCG_PROTOCOL_GUID \
22 {0xf541796d, 0xa62e, 0x4954, { 0xa7, 0x75, 0x95, 0x84, 0xf6, 0x1b, 0x9c, 0xdd } }
23
25
32
42
44
66typedef
69 IN EFI_TCG_PROTOCOL *This,
71 *ProtocolCapability,
72 OUT UINT32 *TCGFeatureFlags,
73 OUT EFI_PHYSICAL_ADDRESS *EventLogLocation,
74 OUT EFI_PHYSICAL_ADDRESS *EventLogLastEntry
75 );
76
94typedef
97 IN EFI_TCG_PROTOCOL *This,
98 IN UINT8 *HashData,
99 IN UINT64 HashDataLen,
100 IN TCG_ALGORITHM_ID AlgorithmId,
101 IN OUT UINT64 *HashedDataLen,
102 IN OUT UINT8 **HashedDataResult
103 );
104
121typedef
124 IN EFI_TCG_PROTOCOL *This,
125 IN TCG_PCR_EVENT *TCGLogData,
126 IN OUT UINT32 *EventNumber,
128 );
129
144typedef
147 IN EFI_TCG_PROTOCOL *This,
148 IN UINT32 TpmInputParameterBlockSize,
149 IN UINT8 *TpmInputParameterBlock,
150 IN UINT32 TpmOutputParameterBlockSize,
151 IN UINT8 *TpmOutputParameterBlock
152 );
153
176typedef
179 IN EFI_TCG_PROTOCOL *This,
180 IN EFI_PHYSICAL_ADDRESS HashData,
181 IN UINT64 HashDataLen,
182 IN TCG_ALGORITHM_ID AlgorithmId,
183 IN OUT TCG_PCR_EVENT *TCGLogData,
184 IN OUT UINT32 *EventNumber,
185 OUT EFI_PHYSICAL_ADDRESS *EventLogLastEntry
186 );
187
198
200
201#endif
#define EFIAPI
Definition ProcessorBind.h:172
unsigned int UINT32
Definition ProcessorBind.h:102
#define IN
Definition Base.h:347
#define OUT
Definition Base.h:352
EFI_STATUS(EFIAPI * EFI_TCG_PASS_THROUGH_TO_TPM)(IN EFI_TCG_PROTOCOL *This, IN UINT32 TpmInputParameterBlockSize, IN UINT8 *TpmInputParameterBlock, IN UINT32 TpmOutputParameterBlockSize, IN UINT8 *TpmOutputParameterBlock)
Definition TcgService.h:146
EFI_GUID gEfiTcgProtocolGuid
UINT32 TCG_ALGORITHM_ID
Definition TcgService.h:43
EFI_STATUS(EFIAPI * EFI_TCG_LOG_EVENT)(IN EFI_TCG_PROTOCOL *This, IN TCG_PCR_EVENT *TCGLogData, IN OUT UINT32 *EventNumber, IN UINT32 Flags)
Definition TcgService.h:123
struct _TCG_EFI_BOOT_SERVICE_CAPABILITY TCG_EFI_BOOT_SERVICE_CAPABILITY
EFI_STATUS(EFIAPI * EFI_TCG_HASH_LOG_EXTEND_EVENT)(IN EFI_TCG_PROTOCOL *This, IN EFI_PHYSICAL_ADDRESS HashData, IN UINT64 HashDataLen, IN TCG_ALGORITHM_ID AlgorithmId, IN OUT TCG_PCR_EVENT *TCGLogData, IN OUT UINT32 *EventNumber, OUT EFI_PHYSICAL_ADDRESS *EventLogLastEntry)
Definition TcgService.h:178
EFI_STATUS(EFIAPI * EFI_TCG_HASH_ALL)(IN EFI_TCG_PROTOCOL *This, IN UINT8 *HashData, IN UINT64 HashDataLen, IN TCG_ALGORITHM_ID AlgorithmId, IN OUT UINT64 *HashedDataLen, IN OUT UINT8 **HashedDataResult)
Definition TcgService.h:96
EFI_STATUS(EFIAPI * EFI_TCG_STATUS_CHECK)(IN EFI_TCG_PROTOCOL *This, OUT TCG_EFI_BOOT_SERVICE_CAPABILITY *ProtocolCapability, OUT UINT32 *TCGFeatureFlags, OUT EFI_PHYSICAL_ADDRESS *EventLogLocation, OUT EFI_PHYSICAL_ADDRESS *EventLogLastEntry)
Definition TcgService.h:68
UINT64 EFI_PHYSICAL_ADDRESS
Definition UefiBaseType.h:54
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33
char ACPI_OBJECT_TYPE UINT32 Flags
Definition acdebug.h:453
unsigned char BOOLEAN
Definition actypes.h:235
unsigned char UINT8
Definition actypes.h:236
COMPILER_DEPENDENT_UINT64 UINT64
Definition actypes.h:239
Definition Base.h:281
Definition TcgService.h:26
UINT8 Minor
Definition TcgService.h:28
UINT8 Major
Definition TcgService.h:27
UINT8 RevMajor
Definition TcgService.h:29
UINT8 RevMinor
Definition TcgService.h:30
Definition TcgService.h:191
EFI_TCG_HASH_LOG_EXTEND_EVENT HashLogExtendEvent
Definition TcgService.h:196
EFI_TCG_STATUS_CHECK StatusCheck
Definition TcgService.h:192
EFI_TCG_PASS_THROUGH_TO_TPM PassThroughToTpm
Definition TcgService.h:195
EFI_TCG_LOG_EVENT LogEvent
Definition TcgService.h:194
EFI_TCG_HASH_ALL HashAll
Definition TcgService.h:193
Definition TcgService.h:33
BOOLEAN TPMDeactivatedFlag
00h = TPM not present.
Definition TcgService.h:40
UINT8 Size
Definition TcgService.h:34
UINT8 HashAlgorithmBitmap
Definition TcgService.h:37
TCG_VERSION StructureVersion
Size of this structure.
Definition TcgService.h:35
TCG_VERSION ProtocolSpecVersion
Definition TcgService.h:36
BOOLEAN TPMPresentFlag
Definition TcgService.h:39
Definition UefiTcgPlatform.h:92