BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3625
If TD-Guest firmware supports measurement and an event is created, TD-Guest firmware is designed to report the event log with the same data structure in TCG-Platform-Firmware-Profile specification with EFI_TCG2_EVENT_LOG_FORMAT_TCG_2 format. The TD-Guest firmware supports measurement, the TD Guest Firmware is designed to produce EFI_TD_PROTOCOL with new GUID EFI_TD_PROTOCOL_GUID to report event log and provides hash capability. Patch #1: Introduce the TD Protocol definition into MdePkg Patch #2: Add DxeTdMeasureBootLib into SecurityPkg. This library instance provides security service of TD measure boot. Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Liming Gao <gaolim...@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang....@intel.com> Cc: Jiewen Yao <jiewen....@intel.com> Cc: Jian J Wang <jian.j.w...@intel.com> Cc: Ken Lu <ken...@intel.com> Signed-off-by: Min Xu <min.m...@intel.com> Min Xu (2): MdePkg: Introduce TdProtocol for TD-Guest firmware SecurityPkg: Add DxeTdMeasureBootLib for TD measure boot MdePkg/Include/Protocol/TdProtocol.h | 305 ++++++++ MdePkg/MdePkg.dec | 3 + .../DxeTdMeasureBootLib/DxeTdMeasureBootLib.c | 688 ++++++++++++++++++ .../DxeTdMeasureBootLib.inf | 61 ++ .../DxeTdMeasureBootLib.uni | 21 + SecurityPkg/SecurityPkg.dsc | 5 + 6 files changed, 1083 insertions(+) create mode 100644 MdePkg/Include/Protocol/TdProtocol.h create mode 100644 SecurityPkg/Library/DxeTdMeasureBootLib/DxeTdMeasureBootLib.c create mode 100644 SecurityPkg/Library/DxeTdMeasureBootLib/DxeTdMeasureBootLib.inf create mode 100644 SecurityPkg/Library/DxeTdMeasureBootLib/DxeTdMeasureBootLib.uni -- 2.29.2.windows.2 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#80626): https://edk2.groups.io/g/devel/message/80626 Mute This Topic: https://groups.io/mt/85592906/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-