]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfTpmLibs.dsc.inc
nasm_ext_dep.yaml: Remove leading zero in patch version
[mirror_edk2.git] / OvmfPkg / OvmfTpmLibs.dsc.inc
1 ##
2 # SPDX-License-Identifier: BSD-2-Clause-Patent
3 ##
4
5 [LibraryClasses]
6 !if $(TPM2_ENABLE) == TRUE
7 !if $(TPM1_ENABLE) == TRUE
8 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
9 !endif
10 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
11 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
12 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
13 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
14 !else
15 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
16 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
17 !endif
18
19 [LibraryClasses.common.PEIM]
20 !if $(TPM2_ENABLE) == TRUE
21 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
22 !if $(TPM1_ENABLE) == TRUE
23 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
24 !endif
25 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
26 !endif
27
28 [LibraryClasses.common.DXE_DRIVER]
29 !if $(TPM2_ENABLE) == TRUE
30 !if $(TPM1_ENABLE) == TRUE
31 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
32 !endif
33 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
34 !endif