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