audk/OvmfPkg/Library
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
..
AcpiTimerLib
BaseCachingPciExpressLib
BaseMemEncryptSevLib OvmfPkg: Realize EfiMemoryAcceptProtocol in AmdSevDxe 2023-01-12 16:03:30 +00:00
BaseMemEncryptTdxLib OvmfPkg/BaseMemEncryptTdxLib: Refactor error handle of SetOrClearSharedBit 2023-01-18 05:11:07 +00:00
BasePciCapLib
BasePciCapPciSegmentLib
BhyveFwCtlLib
BlobVerifierLibNull
CcExitLib OvmfPkg/CcExitLib: Initialize Status in IoExit 2023-01-18 05:54:59 +00:00
CcProbeLib
DxePciLibI440FxQ35
EmuVariableFvbLib
GenericQemuLoadImageLib
HardwareInfoLib
LoadLinuxLib
LockBoxLib
MpInitLibDepLib
NestedInterruptTplLib OvmfPkg: Add library to handle TPL from within nested interrupt handlers 2022-12-23 14:44:48 +00:00
NvVarsFileLib OvmfPkg/NvVarsFileLib: Shortcut ConnectNvVarsToFileSystem in secure-boot 2022-09-06 07:21:42 +00:00
PciHostBridgeLib
PciHostBridgeLibScan
PciHostBridgeUtilityLib
PeilessStartupLib OvmfPkg/IntelTdx: Measure TdHob and Configuration FV in SecMain 2023-02-04 03:38:15 +00:00
PlatformBmPrintScLib
PlatformBootManagerLib OvmfPkg/QemuBootOrderLib: add StoreQemuBootOrder() 2022-09-06 16:55:33 +00:00
PlatformBootManagerLibBhyve
PlatformBootManagerLibGrub
PlatformDebugLibIoPort OvmfPkg/DebugLibIoPort: use Rom version for PEI 2022-12-14 17:45:41 +00:00
PlatformFvbLibNull
PlatformHasIoMmuLib
PlatformInitLib OvmfPkg: Refactor ProcessHobList 2023-02-04 03:38:15 +00:00
PlatformSecureLib
PxeBcPcdProducerLib
QemuBootOrderLib OvmfPkg: rename QemuBootOrderNNNN to VMMBootOrderNNNN 2022-10-07 18:14:05 +00:00
QemuFwCfgLib OvmfPkg/QemuFwCfgLib: remove mQemuFwCfgSupported + mQemuFwCfgDmaSupported 2022-12-14 17:45:41 +00:00
QemuFwCfgS3Lib
QemuFwCfgSimpleParserLib
ResetSystemLib
SerializeVariablesLib
SmbiosVersionLib
SmmCpuFeaturesLib OvmfPkg/SmmCpuFeaturesLib: drop obsolete API implementation 2023-01-04 09:45:06 +00:00
SmmCpuPlatformHookLibQemu
Tcg2PhysicalPresenceLibNull
Tcg2PhysicalPresenceLibQemu
TdxMailboxLib OvmfPkg/TdxMailboxLib: Add NULL instance of TdxMailboxLib 2022-12-21 07:06:17 +00:00
TlsAuthConfigLib
UefiDriverEntryPointFwCfgOverrideLib OvmfPkg: Introduce alternate UefiDriverEntrypoint to inhibit driver load 2022-09-10 08:23:27 +00:00
UefiPciCapPciIoLib
VirtioLib
VirtioMmioDeviceLib
X86QemuLoadImageLib
XenConsoleSerialPortLib
XenHypercallLib
XenIoMmioLib
XenPlatformLib
XenRealTimeClockLib