2# SPDX-License-Identifier: BSD-2-Clause-Patent
6!
if $(TPM2_ENABLE) ==
TRUE
7!
if $(TPM1_ENABLE) ==
TRUE
8 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
10 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
11 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
12 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
14 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
17!
if $(TPM2_ENABLE) ==
TRUE || $(CC_MEASUREMENT_ENABLE) ==
TRUE
19 # DxeTpmMeasurementLib supports measurement functions for both TPM and Confidential Computing.
20 # It should be controlled by TPM2_ENABLE and CC_MEASUREMENT_ENABLE.
22 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
24 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
27[LibraryClasses.common.PEIM]
28!
if $(TPM2_ENABLE) ==
TRUE
29 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
30!
if $(TPM1_ENABLE) ==
TRUE
31 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
33 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
36[LibraryClasses.common.DXE_DRIVER]
37!
if $(TPM2_ENABLE) ==
TRUE
38!
if $(TPM1_ENABLE) ==
TRUE
39 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
41 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf