Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 2818fda9bc6ab923a87961f3a7ba9976452a4899
      
https://github.com/tianocore/edk2/commit/2818fda9bc6ab923a87961f3a7ba9976452a4899
  Author: Min M Xu <min.m...@intel.com>
  Date:   2022-06-07 (Tue, 07 Jun 2022)

  Changed paths:
    A SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.c
    A SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.inf
    M SecurityPkg/SecurityPkg.dsc

  Log Message:
  -----------
  Security: Add SecTpmMeasurementLibTdx

SecTpmMeasurementLitTdx is an instance of TpmMeasurementLib. It is
designed to used in a Td guest. This lib measures and logs data, and
extendx the measurement result into a specific RTMR.

SecTpmMeasurementLibTdx is a refactored lib of
OvmfPkg/Library/SecMeasurementLibTdx and it just copies
GetMappedRtmrIndex/TdxMeasureAndLogData from that lib. At the end of
this patch-set SecMeasurementLibTdx will be deleted.

Cc: Jiewen Yao <jiewen....@intel.com>
Cc: Jian J Wang <jian.j.w...@intel.com>
Signed-off-by: Min Xu <min.m...@intel.com>
Reviewed-by: Jiewen Yao <jiewen....@intel.com>


  Commit: ff0ffe5999d66a58bbbad602f9d963b8606d68ab
      
https://github.com/tianocore/edk2/commit/ff0ffe5999d66a58bbbad602f9d963b8606d68ab
  Author: Min M Xu <min.m...@intel.com>
  Date:   2022-06-07 (Tue, 07 Jun 2022)

  Changed paths:
    M OvmfPkg/IntelTdx/IntelTdxX64.dsc
    M OvmfPkg/Library/PeilessStartupLib/IntelTdx.c
    M OvmfPkg/Library/PeilessStartupLib/PeilessStartup.c
    M OvmfPkg/Library/PeilessStartupLib/PeilessStartupInternal.h
    M OvmfPkg/Library/PeilessStartupLib/PeilessStartupLib.inf

  Log Message:
  -----------
  OvmfPkg: Implement MeasureHobList/MeasureFvImage

MeasureHobList and MeasureFvImage once were implemented in
SecMeasurementTdxLib. The intention of this patch-set is to refactor
SecMeasurementTdxLib to be an instance of TpmMeasurementLib. So these
2 functions (MeasureHobList/MeasureFvImage) are moved to
PeilessStartupLib. This is because:
1. RTMR based trusted boot is implemented in Config-B (See below link)
2. PeilessStartupLib is designed for PEI-less boot and it is the right
   place to do the measurement for Hoblist and Config-FV.

Config-B: https://edk2.groups.io/g/devel/message/76367

Cc: Erdem Aktas <erdemak...@google.com>
Cc: James Bottomley <j...@linux.ibm.com>
Cc: Jiewen Yao <jiewen....@intel.com>
Cc: Tom Lendacky <thomas.lenda...@amd.com>
Cc: Gerd Hoffmann <kra...@redhat.com>
Signed-off-by: Min Xu <min.m...@intel.com>
Reviewed-by: Jiewen Yao <jiewen....@intel.com>


  Commit: a81a650da1dc40ec2b2825d1878cdf2778b4be14
      
https://github.com/tianocore/edk2/commit/a81a650da1dc40ec2b2825d1878cdf2778b4be14
  Author: Min M Xu <min.m...@intel.com>
  Date:   2022-06-07 (Tue, 07 Jun 2022)

  Changed paths:
    R OvmfPkg/Include/Library/SecMeasurementLib.h
    R OvmfPkg/Library/SecMeasurementLib/SecMeasurementLibTdx.c
    R OvmfPkg/Library/SecMeasurementLib/SecMeasurementLibTdx.inf
    M OvmfPkg/OvmfPkg.dec

  Log Message:
  -----------
  OvmfPkg: Delete SecMeasurementLibTdx

The feature of SecMeasurementLibTdx is replaced by SecTpmMeasurementLibTdx
(which is in SecurityPkg). So SecMeasurementLibTdx is deleted.

Cc: Gerd Hoffmann <kra...@redhat.com>
Cc: Jiewen Yao <jiewen....@intel.com>
Signed-off-by: Min Xu <min.m...@intel.com>
Reviewed-by: Jiewen Yao <jiewen....@intel.com>


Compare: https://github.com/tianocore/edk2/compare/4f89e4b3e803...a81a650da1dc


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to