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