Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: d5efc875eff27412d0a7539d44cb99f3780aa8d1 https://github.com/tianocore/edk2/commit/d5efc875eff27412d0a7539d44cb99f3780aa8d1 Author: Min Xu <min.m...@intel.com> Date: 2021-12-11 (Sat, 11 Dec 2021)
Changed paths: A MdePkg/Include/Protocol/CcMeasurement.h M MdePkg/MdePkg.dec Log Message: ----------- MdePkg: Introduce CcMeasurementProtocol for CC Guest firmware BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3625 CC guest is a Confidential Computing guest. If CC Guest firmware supports measurement and an event is created, CC 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 CC Guest firmware supports measurement. It is designed to produce EFI_CC_MEASUREMENT_PROTOCOL with new GUID EFI_CC_MEASUREMENT_PROTOCOL_GUID to report event log and provides hash capability. 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> Cc: Sami Mujawar <sami.muja...@arm.com> Cc: Gerd Hoffmann <kra...@redhat.com> Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn> Reviewed-by: Sami Mujawar <sami.muja...@arm.com> Reviewed-by: Jiewen Yao <jiewen....@intel.com> Signed-off-by: Min Xu <min.m...@intel.com> Commit: a124cd4ef92a349a6c823ea6701fcfd3a17db255 https://github.com/tianocore/edk2/commit/a124cd4ef92a349a6c823ea6701fcfd3a17db255 Author: Min Xu <min.m...@intel.com> Date: 2021-12-11 (Sat, 11 Dec 2021) Changed paths: M SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.c M SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf Log Message: ----------- SecurityPkg: Support CcMeasurementProtocol in DxeTpm2MeasureBootLib BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3625 DxeTpm2MeasureBootLib supports TPM2 based measure boot. After CcMeasurementProtocol is introduced, CC based measure boot needs to be supported in DxeTpm2MeasureBootLib as well. There are 2 major changes in this commit. 1. A platform should have only one RTS/RTR. Only one of (virtual)TPM1.2, (virtual)TPM2.0 and CC MR exists. Then only one TCG_SERVICE_PROTOCOL, TCG2_PROTOCOL, CC_MEASUREMENT_PROTOCOL is exposed. In this library when do measure boot only one of TCG2_PROTOCOL / CC_MEASUREMENT_PROTOCOL will be called. MEASURE_BOOT_PROTOCOLS is defined to store the instances of TCG2 protocol and CC Measurement protocol. 2. CcEvent is similar to Tcg2Event except the MrIndex and PcrIndex. So in the code Tcg2Event will be first created and intialized. If CcMeasurementProtocol is called to do the measure boot, then CcEvent points to Tcg2Event and the MrIndex is adjusted. 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: Sami Mujawar <sami.muja...@arm.com> Cc: Gerd Hoffmann <kra...@redhat.com> Reviewed-by: Sami Mujawar <sami.muja...@arm.com> Reviewed-by: Jiewen Yao <jiewen....@intel.com> Signed-off-by: Min Xu <min.m...@intel.com> Commit: 8c06c53b585a7443b1e0e6c0eff45a62d56472cc https://github.com/tianocore/edk2/commit/8c06c53b585a7443b1e0e6c0eff45a62d56472cc Author: Min Xu <min.m...@intel.com> Date: 2021-12-11 (Sat, 11 Dec 2021) Changed paths: M SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.c M SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf Log Message: ----------- SecurityPkg: Support CcMeasurementProtocol in DxeTpmMeasurementLib BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3625 DxeTpmMeasurementLib supports TPM based measurement in DXE phase. After CcMeasurementProtocol is introduced, CC based measurement needs to be supported in DxeTpmMeasurementLib as well. A platform should have only one RTS/RTR. Only one of (virtual)TPM1.2, (virtual)TPM2.0 and CC MR exists. Then only one TCG_SERVICE_PROTOCOL, TCG2_PROTOCOL, CC_MEASUREMENT_PROTOCOL is exposed. In this library when do measurement only one of above 3 protocols will be called. 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: Sami Mujawar <sami.muja...@arm.com> Cc: Gerd Hoffmann <kra...@redhat.com> Reviewed-by: Sami Mujawar <sami.muja...@arm.com> Reviewed-by: Jiewen Yao <jiewen....@intel.com> Signed-off-by: Min Xu <min.m...@intel.com> Compare: https://github.com/tianocore/edk2/compare/2b20a34fd5e4...8c06c53b585a _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits