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