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
13
14typedef 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
45typedef
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
60 EDKII_TCG_HASH_LOG_EXTEND_EVENT HashLogExtendEvent;
61};
62
63extern EFI_GUID gEdkiiTcgPpiGuid;
64
65#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
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
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213