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