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