]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/SecurityPkg.dsc
SecurityPkg: PlatformPKProtectionLib: Added PK protection interface
[mirror_edk2.git] / SecurityPkg / SecurityPkg.dsc
CommitLineData
0c18794e 1## @file\r
2# Security Module Package for All Architectures.\r
3#\r
0d03ffc7 4# Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.<BR>\r
4efcc11c 5# (C) Copyright 2015-2020 Hewlett Packard Enterprise Development LP<BR>\r
289b714b 6# SPDX-License-Identifier: BSD-2-Clause-Patent\r
0c18794e 7#\r
8##\r
9\r
10[Defines]\r
11 PLATFORM_NAME = SecurityPkg\r
12 PLATFORM_GUID = B2C4614D-AE76-47ba-B876-5988BFED064F\r
b921c629 13 PLATFORM_VERSION = 0.98\r
0c18794e 14 DSC_SPECIFICATION = 0x00010005\r
15 OUTPUT_DIRECTORY = Build/SecurityPkg\r
4efcc11c 16 SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64\r
a76e4c1c 17 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
0c18794e 18 SKUID_IDENTIFIER = DEFAULT\r
19\r
0d03ffc7
DB
20!include MdePkg/MdeLibs.dsc.inc\r
21\r
0c18794e 22[LibraryClasses]\r
23 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
d4de4f99 24 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
0c18794e 25 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
26 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
27 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
28 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
29 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
30 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
31 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
c1d93242 32 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
5e9dfc67
LG
33 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
34 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
0c18794e 35\r
36 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
37 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
38 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
39 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
40 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
41 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
42 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
43 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
5dbb6635
JY
44 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
45 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
0c18794e 46 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
47 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
48 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
0c18794e 49 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
50 TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf\r
607599bf 51 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r
52 TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf\r
a332cfd3 53 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
c1d93242
JY
54 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf\r
55 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r
1abfa4ce 56 Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf\r
4610b23a 57 TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf\r
1abfa4ce 58 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf\r
3b60842c 59 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
d4de4f99 60 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
ed14533c 61 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
d4de4f99
ED
62 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
63 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
64 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r
65 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
66 TcgStorageCoreLib|SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCoreLib.inf\r
67 TcgStorageOpalLib|SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf\r
5919a960 68 ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf\r
6e9bd495 69 VariableKeyLib|SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNull.inf\r
d21c2cd0 70 RpmcLib|SecurityPkg/Library/RpmcLibNull/RpmcLibNull.inf\r
6847329a 71 TcgEventLogRecordLib|SecurityPkg/Library/TcgEventLogRecordLib/TcgEventLogRecordLib.inf\r
59a3ccb0 72 MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf\r
bb806a6e 73 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf\r
d6bee54c 74 PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf\r
97326596 75 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf\r
72c5afd0 76 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf\r
0c18794e 77\r
45f3dd2c 78[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
2f0a1e65
LL
79 #\r
80 # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
d6b926e7 81 # This library provides the intrinsic functions generate by a given compiler.\r
2f0a1e65
LL
82 # And NULL mean link this library into all ARM images.\r
83 #\r
84 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
85\r
86 # Add support for GCC stack protector\r
87 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
88\r
c1f22876
MK
89 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r
90\r
91[LibraryClasses.ARM]\r
92 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r
93\r
94[LibraryClasses.RISCV64]\r
95 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r
96\r
72c5afd0
MX
97[LibraryClasses.X64.SEC]\r
98 HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf\r
2818fda9 99 TpmMeasurementLib|SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.inf\r
72c5afd0
MX
100\r
101[LibraryClasses.X64.DXE_DRIVER]\r
102 HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf\r
103\r
0c18794e 104[LibraryClasses.common.PEIM]\r
105 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
106 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
107 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
108 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
109 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
566c45a5
MK
110!ifdef CONTINUOUS_INTEGRATION\r
111 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
112!else\r
113 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
114 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
3b947ef1 115 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
566c45a5 116!endif\r
c1d93242 117 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
5dbb6635 118 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
c1d93242
JY
119 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
120 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
1abfa4ce 121 Tcg2PhysicalPresenceLib|SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf\r
b87f31f0 122 TpmMeasurementLib|SecurityPkg/Library/PeiTpmMeasurementLib/PeiTpmMeasurementLib.inf\r
3b60842c 123 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
0c18794e 124\r
125[LibraryClasses.common.DXE_DRIVER]\r
126 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
127 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
566c45a5
MK
128!ifdef CONTINUOUS_INTEGRATION\r
129 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
130!else\r
131 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
132 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
3b947ef1 133 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
566c45a5 134!endif\r
c1d93242
JY
135 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
136 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
1abfa4ce 137 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
2a7ee115 138 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
0c18794e 139\r
140[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]\r
9a000b46 141 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
0c18794e 142 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
c1d93242
JY
143 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
144 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
1abfa4ce 145 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
0c18794e 146\r
3b947ef1 147[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
a782428e 148 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
566c45a5
MK
149!ifdef CONTINUOUS_INTEGRATION\r
150 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
151!else\r
152 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
153 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
3b947ef1 154 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
566c45a5 155!endif\r
c1d93242
JY
156 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
157 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
1abfa4ce 158 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
3b947ef1 159\r
160[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]\r
566c45a5
MK
161!ifdef CONTINUOUS_INTEGRATION\r
162 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
163!else\r
164 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
165 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
3b947ef1 166 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
566c45a5 167!endif\r
c1d93242 168 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
45f3dd2c 169 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
c1d93242 170 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
1abfa4ce 171 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
3b947ef1 172\r
0c18794e 173[LibraryClasses.common.DXE_SMM_DRIVER]\r
9a000b46 174 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
0c18794e 175 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
45939255 176 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
0c18794e 177 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
a782428e 178 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf\r
9054e55a 179 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
566c45a5
MK
180!ifdef CONTINUOUS_INTEGRATION\r
181 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
182!else\r
183 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
184 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
0c18794e 185 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
566c45a5 186!endif\r
c1d93242 187 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
1abfa4ce
JY
188 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
189 Tcg2PhysicalPresenceLib|SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf\r
350e9150 190 SmmIoLib|MdePkg/Library/SmmIoLib/SmmIoLib.inf\r
d4de4f99 191\r
8802583c
KQ
192[LibraryClasses.common.MM_STANDALONE]\r
193 StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf\r
194 MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf\r
195 Tcg2PhysicalPresenceLib|SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2PhysicalPresenceLib.inf\r
196 MemLib|StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf\r
197 HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf\r
198 MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf\r
199\r
c1d93242
JY
200[PcdsDynamicDefault.common.DEFAULT]\r
201 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0xb6, 0xe5, 0x01, 0x8b, 0x19, 0x4f, 0xe8, 0x46, 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc}\r
202 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy|1\r
203 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy|1\r
204 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy|1\r
205 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1\r
206 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1\r
1abfa4ce
JY
207 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask|3\r
208 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap|3\r
c1d93242 209\r
dd6d0a52
SZ
210[PcdsDynamicHii.common.DEFAULT]\r
211 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS\r
fca42289 212 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS\r
dd6d0a52 213\r
0c18794e 214[Components]\r
0c18794e 215 SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
d0043e49 216 SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf\r
0c18794e 217\r
0c18794e 218 #\r
219 # TPM\r
220 #\r
221 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf\r
cbcccd2c 222 SecurityPkg/Library/TpmCommLib/TpmCommLib.inf\r
c1d93242
JY
223 SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf\r
224 SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf\r
225 SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
226 SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
cbcccd2c 227\r
0c18794e 228 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf\r
0c18794e 229 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf\r
c1d93242
JY
230\r
231 #\r
232 # TPM2\r
233 #\r
234 SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
1abfa4ce
JY
235 SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf\r
236 SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf\r
c1d93242
JY
237\r
238 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
239 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
240\r
241 SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r
1abfa4ce 242 SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
c1d93242
JY
243 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
244 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
7a56650e 245 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandaloneMm.inf\r
c1d93242
JY
246 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
247 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf\r
248\r
249 SecurityPkg/Library/HashLibTpm2/HashLibTpm2.inf\r
250\r
3b69fcf5 251 SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf\r
282122ec 252 SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLibNull/PeiDxeTpmPlatformHierarchyLib.inf\r
3b69fcf5 253\r
d4de4f99
ED
254 #\r
255 # TCG Storage.\r
256 #\r
257 SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCoreLib.inf\r
258 SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf\r
d4de4f99 259\r
d21c2cd0
JW
260 #\r
261 # Variable Confidentiality & Integrity\r
262 #\r
6e9bd495 263 SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNull.inf\r
d21c2cd0 264 SecurityPkg/Library/RpmcLibNull/RpmcLibNull.inf\r
d6bee54c 265 SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf\r
d21c2cd0 266\r
724dcbb2
JY
267 #\r
268 # Other\r
269 #\r
1a53a034
MK
270 SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.inf\r
271 SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.inf\r
a6811666 272\r
487aa09b
JY
273 SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
274 SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf\r
275\r
b87f31f0 276 SecurityPkg/Library/PeiTpmMeasurementLib/PeiTpmMeasurementLib.inf\r
2f3435c2
BB
277 SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
278 SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r
279 SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf\r
280 SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf\r
6847329a 281 SecurityPkg/Library/TcgEventLogRecordLib/TcgEventLogRecordLib.inf\r
2f3435c2 282\r
4cecd19a 283[Components.IA32, Components.X64, Components.ARM, Components.AARCH64]\r
a6811666 284 SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
45f3dd2c
GB
285 SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf\r
286 SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf\r
287 SecurityPkg/EnrollFromDefaultKeysApp/EnrollFromDefaultKeysApp.inf\r
288 SecurityPkg/VariableAuthenticated/SecureBootDefaultKeysDxe/SecureBootDefaultKeysDxe.inf\r
a6811666 289\r
4e5ecdba
RC
290[Components.IA32, Components.X64, Components.AARCH64]\r
291 #\r
292 # Random Number Generator\r
293 #\r
294 SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf\r
295\r
72c5afd0
MX
296[Components.X64]\r
297 SecurityPkg/Library/HashLibTdx/HashLibTdx.inf\r
2818fda9 298 SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.inf\r
72c5afd0 299\r
4cecd19a 300[Components.IA32, Components.X64]\r
cbcccd2c 301 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
cbcccd2c
LG
302\r
303 #\r
304 # TPM\r
305 #\r
306 SecurityPkg/Tcg/TcgPei/TcgPei.inf\r
307 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf\r
0c18794e 308 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {\r
309 <LibraryClasses>\r
310 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
311 }\r
cbcccd2c 312\r
c1d93242
JY
313 #\r
314 # TPM2\r
315 #\r
316 SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
317 SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
69e259e5
ZC
318 SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
319 SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
edf6ef24 320 SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
c1d93242 321\r
1abfa4ce
JY
322 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {\r
323 <LibraryClasses>\r
324 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
325 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
326 }\r
327 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {\r
328 <LibraryClasses>\r
329 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf\r
330 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
331 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
332 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
8d7aef3d
ZC
333 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
334 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
edf6ef24 335 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
1abfa4ce
JY
336 }\r
337\r
3b69fcf5
SB
338 SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf {\r
339 <LibraryClasses>\r
340 TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf\r
341 }\r
342\r
1abfa4ce
JY
343 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {\r
344 <LibraryClasses>\r
345 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
346 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
347 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
348 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
8d7aef3d
ZC
349 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
350 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
edf6ef24 351 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
1abfa4ce
JY
352 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
353 }\r
354 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf {\r
355 <LibraryClasses>\r
356 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
357 }\r
358\r
3b69fcf5
SB
359 SecurityPkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf {\r
360 <LibraryClasses>\r
361 TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf\r
362 }\r
363\r
b7a66f97
JY
364 #\r
365 # Hash2\r
366 #\r
367 SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf\r
c1d93242 368\r
2d093499
QL
369 #\r
370 # PKCS7 Verification\r
371 #\r
372 SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.inf\r
373\r
0c18794e 374[Components.IA32, Components.X64]\r
70c7664c
JY
375\r
376 SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLockSmm.inf\r
cbcccd2c 377 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf\r
1abfa4ce 378 SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf\r
8802583c
KQ
379 SecurityPkg/Tcg/Tcg2Smm/Tcg2StandaloneMm.inf\r
380 SecurityPkg/Tcg/Tcg2Smm/Tcg2MmDependencyDxe.inf\r
3c2dc30d 381 SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.inf\r
1abfa4ce 382 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf\r
45939255 383 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2PhysicalPresenceLib.inf\r
ff469eae 384\r
d4de4f99
ED
385 #\r
386 # Opal Password solution\r
387 #\r
112e584b
SZ
388 SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordDxe.inf\r
389 SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.inf\r
d4de4f99 390\r
e8959f81
HW
391 #\r
392 # HDD Password solution\r
393 #\r
394 SecurityPkg/HddPassword/HddPasswordDxe.inf\r
395 SecurityPkg/HddPassword/HddPasswordPei.inf\r
396\r
8b6f0b5c
JW
397 #\r
398 # Common FV checker/verifier/reporter\r
399 #\r
400 SecurityPkg/FvReportPei/FvReportPei.inf\r
401\r
0c18794e 402[BuildOptions]\r
403 MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r
404 INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r
b32f094c 405 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r