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.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Ken Lu <ken.lu@intel.com>
Signed-off-by: Min Xu <min.m.xu@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/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-