public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/2] Introduce TdProtocol into EDK2
@ 2021-09-14  1:57 Min Xu
  2021-09-14  1:57 ` [PATCH 1/2] MdePkg: Introduce TdProtocol for TD-Guest firmware Min Xu
  2021-09-14  1:57 ` [PATCH 2/2] SecurityPkg: Add DxeTdMeasureBootLib for TD measure boot Min Xu
  0 siblings, 2 replies; 9+ messages in thread
From: Min Xu @ 2021-09-14  1:57 UTC (permalink / raw)
  To: devel
  Cc: Min Xu, Michael D Kinney, Liming Gao, Zhiguang Liu, Jiewen Yao,
	Jian J Wang, Ken Lu

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-09-26  1:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-14  1:57 [PATCH 0/2] Introduce TdProtocol into EDK2 Min Xu
2021-09-14  1:57 ` [PATCH 1/2] MdePkg: Introduce TdProtocol for TD-Guest firmware Min Xu
2021-09-14  2:05   ` Yao, Jiewen
2021-09-15  5:49   ` 回复: [edk2-devel] " gaoliming
2021-09-15  6:04     ` Min Xu
2021-09-24 23:01     ` Yao, Jiewen
2021-09-26  0:53       ` 回复: " gaoliming
2021-09-26  1:00         ` Yao, Jiewen
2021-09-14  1:57 ` [PATCH 2/2] SecurityPkg: Add DxeTdMeasureBootLib for TD measure boot Min Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox