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