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