]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/SecurityPkg.dsc
d883747474e41908eec9a8322d96b25eac3775cb
[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 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
75 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
76
77 [LibraryClasses.ARM, LibraryClasses.AARCH64]
78 #
79 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
80 # This library provides the intrinsic functions generate by a given compiler.
81 # And NULL mean link this library into all ARM images.
82 #
83 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
84
85 # Add support for GCC stack protector
86 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
87
88 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
89
90 [LibraryClasses.ARM]
91 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
92
93 [LibraryClasses.RISCV64]
94 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
95
96 [LibraryClasses.X64.SEC]
97 HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf
98 TpmMeasurementLib|SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.inf
99
100 [LibraryClasses.X64.DXE_DRIVER]
101 HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf
102
103 [LibraryClasses.common.PEIM]
104 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
105 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
106 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
107 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
108 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
109 !ifdef CONTINUOUS_INTEGRATION
110 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
111 !else
112 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
113 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
114 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
115 !endif
116 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
117 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
118 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
119 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
120 Tcg2PhysicalPresenceLib|SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf
121 TpmMeasurementLib|SecurityPkg/Library/PeiTpmMeasurementLib/PeiTpmMeasurementLib.inf
122 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
123
124 [LibraryClasses.common.DXE_DRIVER]
125 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
126 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
127 !ifdef CONTINUOUS_INTEGRATION
128 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
129 !else
130 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
131 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
132 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
133 !endif
134 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
135 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
136 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
137 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
138
139 [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]
140 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
141 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
142 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
143 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
144 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
145
146 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
147 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
148 !ifdef CONTINUOUS_INTEGRATION
149 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
150 !else
151 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
152 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
153 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
154 !endif
155 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
156 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
157 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
158
159 [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
160 !ifdef CONTINUOUS_INTEGRATION
161 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
162 !else
163 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
164 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
165 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
166 !endif
167 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
168 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
169 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
170 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
171
172 [LibraryClasses.common.DXE_SMM_DRIVER]
173 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
174 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
175 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
176 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
177 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
178 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
179 !ifdef CONTINUOUS_INTEGRATION
180 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
181 !else
182 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
183 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
184 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
185 !endif
186 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
187 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
188 Tcg2PhysicalPresenceLib|SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf
189 SmmIoLib|MdePkg/Library/SmmIoLib/SmmIoLib.inf
190
191 [LibraryClasses.common.MM_STANDALONE]
192 StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
193 MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
194 Tcg2PhysicalPresenceLib|SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2PhysicalPresenceLib.inf
195 MemLib|StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf
196 HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf
197 MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf
198
199 [PcdsDynamicDefault.common.DEFAULT]
200 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0xb6, 0xe5, 0x01, 0x8b, 0x19, 0x4f, 0xe8, 0x46, 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc}
201 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy|1
202 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy|1
203 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy|1
204 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1
205 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1
206 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask|3
207 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap|3
208
209 [PcdsDynamicHii.common.DEFAULT]
210 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
211 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
212
213 [Components]
214 SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
215 SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf
216
217 #
218 # TPM
219 #
220 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
221 SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
222 SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
223 SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
224 SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
225 SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
226
227 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
228 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
229
230 #
231 # TPM2
232 #
233 SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
234 SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
235 SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf
236
237 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
238 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
239
240 SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
241 SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
242 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
243 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
244 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandaloneMm.inf
245 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
246 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf
247
248 SecurityPkg/Library/HashLibTpm2/HashLibTpm2.inf
249
250 SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
251 SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLibNull/PeiDxeTpmPlatformHierarchyLib.inf
252
253 #
254 # TCG Storage.
255 #
256 SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCoreLib.inf
257 SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf
258
259 #
260 # Variable Confidentiality & Integrity
261 #
262 SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNull.inf
263 SecurityPkg/Library/RpmcLibNull/RpmcLibNull.inf
264
265 #
266 # Other
267 #
268 SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.inf
269 SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.inf
270
271 SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
272 SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf
273
274 SecurityPkg/Library/PeiTpmMeasurementLib/PeiTpmMeasurementLib.inf
275 SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
276 SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
277 SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
278 SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf
279 SecurityPkg/Library/TcgEventLogRecordLib/TcgEventLogRecordLib.inf
280
281 [Components.IA32, Components.X64, Components.ARM, Components.AARCH64]
282 SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
283 SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
284 SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
285 SecurityPkg/EnrollFromDefaultKeysApp/EnrollFromDefaultKeysApp.inf
286 SecurityPkg/VariableAuthenticated/SecureBootDefaultKeysDxe/SecureBootDefaultKeysDxe.inf
287
288 [Components.IA32, Components.X64, Components.AARCH64]
289 #
290 # Random Number Generator
291 #
292 SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
293
294 [Components.X64]
295 SecurityPkg/Library/HashLibTdx/HashLibTdx.inf
296 SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.inf
297
298 [Components.IA32, Components.X64]
299 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
300
301 #
302 # TPM
303 #
304 SecurityPkg/Tcg/TcgPei/TcgPei.inf
305 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
306 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
307 <LibraryClasses>
308 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
309 }
310
311 #
312 # TPM2
313 #
314 SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
315 SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
316 SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
317 SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
318 SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
319
320 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {
321 <LibraryClasses>
322 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
323 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
324 }
325 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
326 <LibraryClasses>
327 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf
328 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
329 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
330 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
331 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
332 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
333 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
334 }
335
336 SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf {
337 <LibraryClasses>
338 TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
339 }
340
341 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
342 <LibraryClasses>
343 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
344 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
345 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
346 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
347 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
348 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
349 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
350 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
351 }
352 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf {
353 <LibraryClasses>
354 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
355 }
356
357 SecurityPkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf {
358 <LibraryClasses>
359 TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
360 }
361
362 #
363 # Hash2
364 #
365 SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
366
367 #
368 # PKCS7 Verification
369 #
370 SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.inf
371
372 [Components.IA32, Components.X64]
373
374 SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLockSmm.inf
375 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
376 SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
377 SecurityPkg/Tcg/Tcg2Smm/Tcg2StandaloneMm.inf
378 SecurityPkg/Tcg/Tcg2Smm/Tcg2MmDependencyDxe.inf
379 SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.inf
380 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf
381 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2PhysicalPresenceLib.inf
382
383 #
384 # Opal Password solution
385 #
386 SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordDxe.inf
387 SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.inf
388
389 #
390 # HDD Password solution
391 #
392 SecurityPkg/HddPassword/HddPasswordDxe.inf
393 SecurityPkg/HddPassword/HddPasswordPei.inf
394
395 #
396 # Common FV checker/verifier/reporter
397 #
398 SecurityPkg/FvReportPei/FvReportPei.inf
399
400 [BuildOptions]
401 MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
402 INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256
403 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES