TianoCore EDK2
master
Loading...
Searching...
No Matches
Tcg.h
Go to the documentation of this file.
1
9
#ifndef _TCG_PPI_H_
10
#define _TCG_PPI_H_
11
12
#include <
IndustryStandard/UefiTcgPlatform.h
>
13
14
typedef
struct
_EDKII_TCG_PPI
EDKII_TCG_PPI
;
15
16
//
17
// This bit is shall be set when HashData is the pre-hash digest.
18
//
19
#define EDKII_TCG_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_TCG_PRE_HASH_LOG_ONLY 0x0000000000000002
25
45
typedef
46
EFI_STATUS
47
(EFIAPI *
EDKII_TCG_HASH_LOG_EXTEND_EVENT
)(
48
IN
EDKII_TCG_PPI
*This,
49
IN
UINT64 Flags,
50
IN
UINT8 *HashData,
51
IN
UINTN
HashDataLen,
52
IN
TCG_PCR_EVENT_HDR
*NewEventHdr,
53
IN
UINT8 *NewEventData
54
);
55
59
struct
_EDKII_TCG_PPI
{
60
EDKII_TCG_HASH_LOG_EXTEND_EVENT
HashLogExtendEvent;
61
};
62
63
extern
EFI_GUID
gEdkiiTcgPpiGuid;
64
65
#endif
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
IN
#define IN
Definition:
Base.h:279
EDKII_TCG_HASH_LOG_EXTEND_EVENT
EFI_STATUS(EFIAPI * EDKII_TCG_HASH_LOG_EXTEND_EVENT)(IN EDKII_TCG_PPI *This, IN UINT64 Flags, IN UINT8 *HashData, IN UINTN HashDataLen, IN TCG_PCR_EVENT_HDR *NewEventHdr, IN UINT8 *NewEventData)
Definition:
Tcg.h:47
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
UefiTcgPlatform.h
_EDKII_TCG_PPI
Definition:
Tcg.h:59
GUID
Definition:
Base.h:213
tdTCG_PCR_EVENT_HDR
Definition:
UefiTcgPlatform.h:128
SecurityPkg
Include
Ppi
Tcg.h
Generated on Fri Nov 15 2024 18:01:23 for TianoCore EDK2 by
1.9.6