]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg: Introduce SecMeasurementLib
authorMin Xu <min.m.xu@intel.com>
Mon, 16 May 2022 07:42:18 +0000 (15:42 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 3 Jun 2022 11:41:36 +0000 (11:41 +0000)
commita708536dce4d4095b44d48fb9a90e89b11362e83
tree74b4efef69bf010085233db5551dd496875f89bd
parentdc443e4437d0ec58aa0bf81ff91d11f1b30ac63f
OvmfPkg: Introduce SecMeasurementLib

RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3853

SecMeasurementLib is designed to do the measurement in SEC phase. In
current stage there are 2 functions introduced:
 - MeasureHobList: Measure the Hoblist passed from the VMM.
 - MeasureFvImage: Measure the FV image.

SecMeasurementLibTdx is the TDX version of the library.

Cc: Brijesh Singh <brijesh.singh@amd.com>
Cc: Erdem Aktas <erdemaktas@google.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Ken Lu <ken.lu@intel.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Min Xu <min.m.xu@intel.com>
OvmfPkg/Include/Library/SecMeasurementLib.h [new file with mode: 0644]
OvmfPkg/Library/SecMeasurementLib/SecMeasurementLibTdx.c [new file with mode: 0644]
OvmfPkg/Library/SecMeasurementLib/SecMeasurementLibTdx.inf [new file with mode: 0644]
OvmfPkg/OvmfPkg.dec