mirror of https://github.com/acidanthera/audk.git
MdePkg: UefiTcgPlatform.h: Add TCG_PCR_EVENT2_HDR definition
Add TCG_PCR_EVENT2_HDR definition. Follow TCG EFI Spec 2.0 00.13 Section 5.2 Crypto Agile Log Entry Format https://trustedcomputinggroup.org/wp-content/uploads/EFI-Protocol-Specification-rev13-160330final.pdf Cc: Long Qin <qin.long@intel.com> Cc: Yao Jiewen <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chao Zhang <chao.b.zhang@intel.com> Reviewed-by: Long Qin <qin.long@intel.com>
This commit is contained in:
parent
a2612cf7d8
commit
c5647c6c3c
|
@ -205,6 +205,17 @@ typedef struct tdTCG_PCR_EVENT2 {
|
||||||
UINT8 Event[1];
|
UINT8 Event[1];
|
||||||
} TCG_PCR_EVENT2;
|
} TCG_PCR_EVENT2;
|
||||||
|
|
||||||
|
//
|
||||||
|
// TCG PCR Event2 Header
|
||||||
|
// Follow TCG EFI Protocol Spec 5.2 Crypto Agile Log Entry Format
|
||||||
|
//
|
||||||
|
typedef struct tdTCG_PCR_EVENT2_HDR{
|
||||||
|
TCG_PCRINDEX PCRIndex;
|
||||||
|
TCG_EVENTTYPE EventType;
|
||||||
|
TPML_DIGEST_VALUES Digests;
|
||||||
|
UINT32 EventSize;
|
||||||
|
} TCG_PCR_EVENT2_HDR;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Log Header Entry Data
|
// Log Header Entry Data
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue