audk/OvmfPkg/Library/PeilessStartupLib
Min M Xu 019621d078 OvmfPkg/IntelTdx: Measure TdHob and Configuration FV in SecMain
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4243

TdHob and Configuration FV (Cfv) are external inputs from VMM. From the
security perspective, they should be measured before they're consumed.
This patch measures TdHob and Cfv and stores the measurement values in
WorkArea.

After TdHob and Configuration FV (Cfv) are measured in SecMain, the
same measurements in PeilessStartupLib are deleted.

Cc: Erdem Aktas <erdemaktas@google.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Michael Roth <michael.roth@amd.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Min Xu <min.m.xu@intel.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
2023-02-04 03:38:15 +00:00
..
X64 OvmfPkg/PeilessStartupLib: move mPageTablePool to stack 2022-09-28 00:31:16 +00:00
DxeLoad.c EmbeddedPkg: Rename FfsFindSectionData as FfsFindSectionDataWithHook 2023-01-19 08:35:59 +00:00
Hob.c OvmfPkg/PlatformInitLib: Add PlatformGetLowMemoryCB 2023-01-17 16:36:59 +00:00
PeilessStartup.c OvmfPkg/IntelTdx: Measure TdHob and Configuration FV in SecMain 2023-02-04 03:38:15 +00:00
PeilessStartupInternal.h OvmfPkg: Refactor MeaureFvImage 2023-02-04 03:38:15 +00:00
PeilessStartupLib.inf OvmfPkg/IntelTdx: Measure TdHob and Configuration FV in SecMain 2023-02-04 03:38:15 +00:00