]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - SecurityPkg/SecurityPkg.dsc
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / SecurityPkg / SecurityPkg.dsc
... / ...
CommitLineData
1## @file\r
2# Security Module Package for All Architectures.\r
3#\r
4# Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.<BR>\r
5# (C) Copyright 2015-2020 Hewlett Packard Enterprise Development LP<BR>\r
6# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>\r
7# Copyright (c) 2021 - 2022, Arm Limited. All rights reserved.<BR>\r
8# SPDX-License-Identifier: BSD-2-Clause-Patent\r
9#\r
10##\r
11\r
12[Defines]\r
13 PLATFORM_NAME = SecurityPkg\r
14 PLATFORM_GUID = B2C4614D-AE76-47ba-B876-5988BFED064F\r
15 PLATFORM_VERSION = 0.98\r
16 DSC_SPECIFICATION = 0x00010005\r
17 OUTPUT_DIRECTORY = Build/SecurityPkg\r
18 SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64|LOONGARCH64\r
19 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
20 SKUID_IDENTIFIER = DEFAULT\r
21\r
22!include MdePkg/MdeLibs.dsc.inc\r
23\r
24[LibraryClasses]\r
25 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
26 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
27 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
28 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
29 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
30 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
31 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
32 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
33 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
34 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
35 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
36 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
37\r
38 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
39 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
40 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
41 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
42 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
43 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
44 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
45 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
46 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
47 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
48 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
49 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
50 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
51 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
52 TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf\r
53 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r
54 TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf\r
55 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
56 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf\r
57 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r
58 Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf\r
59 TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf\r
60 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf\r
61 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
62 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
63 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
64 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
65 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
66 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r
67 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
68 TcgStorageCoreLib|SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCoreLib.inf\r
69 TcgStorageOpalLib|SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf\r
70 ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf\r
71 TcgEventLogRecordLib|SecurityPkg/Library/TcgEventLogRecordLib/TcgEventLogRecordLib.inf\r
72 MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf\r
73 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf\r
74 PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf\r
75 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf\r
76 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf\r
77\r
78[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
79 #\r
80 # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
81 # This library provides the intrinsic functions generate by a given compiler.\r
82 # And NULL mean link this library into all ARM images.\r
83 #\r
84 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
85\r
86 # Add support for GCC stack protector\r
87 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
88\r
89 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r
90\r
91 ArmTrngLib|MdePkg/Library/BaseArmTrngLibNull/BaseArmTrngLibNull.inf\r
92\r
93[LibraryClasses.ARM]\r
94 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r
95\r
96[LibraryClasses.RISCV64]\r
97 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r
98\r
99[LibraryClasses.X64.SEC]\r
100 HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf\r
101 TpmMeasurementLib|SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.inf\r
102\r
103[LibraryClasses.X64.DXE_DRIVER]\r
104 HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf\r
105\r
106[LibraryClasses.common.PEIM]\r
107 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
108 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
109 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
110 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
111 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
112!ifdef CONTINUOUS_INTEGRATION\r
113 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
114!else\r
115 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
116 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
117 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
118!endif\r
119 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
120 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
121 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
122 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
123 Tcg2PhysicalPresenceLib|SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf\r
124 TpmMeasurementLib|SecurityPkg/Library/PeiTpmMeasurementLib/PeiTpmMeasurementLib.inf\r
125 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
126\r
127[LibraryClasses.common.DXE_DRIVER]\r
128 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
129 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
130!ifdef CONTINUOUS_INTEGRATION\r
131 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
132!else\r
133 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
134 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
135 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
136!endif\r
137 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
138 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
139 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
140 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
141\r
142[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]\r
143 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
144 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
145 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
146 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
147 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
148\r
149[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
150 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
151!ifdef CONTINUOUS_INTEGRATION\r
152 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
153!else\r
154 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
155 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
156 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
157!endif\r
158 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
159 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
160 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
161\r
162[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]\r
163!ifdef CONTINUOUS_INTEGRATION\r
164 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
165!else\r
166 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
167 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
168 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
169!endif\r
170 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
171 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
172 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
173 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
174\r
175[LibraryClasses.common.DXE_SMM_DRIVER]\r
176 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
177 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
178 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
179 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
180 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf\r
181 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
182!ifdef CONTINUOUS_INTEGRATION\r
183 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
184!else\r
185 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
186 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
187 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
188!endif\r
189 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
190 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
191 Tcg2PhysicalPresenceLib|SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf\r
192 SmmIoLib|MdePkg/Library/SmmIoLib/SmmIoLib.inf\r
193\r
194[LibraryClasses.common.MM_STANDALONE]\r
195 StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf\r
196 MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf\r
197 Tcg2PhysicalPresenceLib|SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2PhysicalPresenceLib.inf\r
198 MemLib|StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf\r
199 HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf\r
200 MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf\r
201\r
202[PcdsDynamicDefault.common.DEFAULT]\r
203 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0xb6, 0xe5, 0x01, 0x8b, 0x19, 0x4f, 0xe8, 0x46, 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc}\r
204 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy|1\r
205 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy|1\r
206 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy|1\r
207 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1\r
208 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1\r
209 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask|3\r
210 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap|3\r
211\r
212[PcdsDynamicHii.common.DEFAULT]\r
213 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS\r
214 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS\r
215\r
216[Components]\r
217 SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
218 SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf\r
219\r
220 #\r
221 # TPM\r
222 #\r
223 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf\r
224 SecurityPkg/Library/TpmCommLib/TpmCommLib.inf\r
225 SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf\r
226 SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf\r
227 SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
228 SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
229\r
230 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf\r
231 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf\r
232\r
233 #\r
234 # TPM2\r
235 #\r
236 SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
237 SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf\r
238 SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf\r
239\r
240 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
241 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
242\r
243 SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r
244 SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
245 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
246 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
247 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandaloneMm.inf\r
248 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
249 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf\r
250\r
251 SecurityPkg/Library/HashLibTpm2/HashLibTpm2.inf\r
252\r
253 SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf\r
254 SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLibNull/PeiDxeTpmPlatformHierarchyLib.inf\r
255\r
256 #\r
257 # TCG Storage.\r
258 #\r
259 SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCoreLib.inf\r
260 SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf\r
261\r
262 #\r
263 # Variable Confidentiality & Integrity\r
264 #\r
265 SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf\r
266\r
267 #\r
268 # Other\r
269 #\r
270 SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.inf\r
271 SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.inf\r
272\r
273 SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
274 SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf\r
275\r
276 SecurityPkg/Library/PeiTpmMeasurementLib/PeiTpmMeasurementLib.inf\r
277 SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
278 SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r
279 SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf\r
280 SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf\r
281 SecurityPkg/Library/TcgEventLogRecordLib/TcgEventLogRecordLib.inf\r
282\r
283[Components.IA32, Components.X64, Components.ARM, Components.AARCH64]\r
284 SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
285 SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf\r
286 SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf\r
287 SecurityPkg/EnrollFromDefaultKeysApp/EnrollFromDefaultKeysApp.inf\r
288 SecurityPkg/VariableAuthenticated/SecureBootDefaultKeysDxe/SecureBootDefaultKeysDxe.inf\r
289\r
290[Components.IA32, Components.X64, Components.AARCH64, Components.ARM]\r
291 #\r
292 # Random Number Generator\r
293 #\r
294 SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf\r
295\r
296[Components.X64]\r
297 SecurityPkg/Library/HashLibTdx/HashLibTdx.inf\r
298 SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.inf\r
299 SecurityPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf {\r
300 <LibraryClasses>\r
301 HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf\r
302 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
303 }\r
304\r
305[Components.IA32, Components.X64]\r
306 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
307\r
308 #\r
309 # TPM\r
310 #\r
311 SecurityPkg/Tcg/TcgPei/TcgPei.inf\r
312 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf\r
313 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {\r
314 <LibraryClasses>\r
315 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
316 }\r
317\r
318 #\r
319 # TPM2\r
320 #\r
321 SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
322 SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
323 SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
324 SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
325 SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
326\r
327 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {\r
328 <LibraryClasses>\r
329 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
330 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
331 }\r
332 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {\r
333 <LibraryClasses>\r
334 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf\r
335 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
336 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
337 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
338 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
339 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
340 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
341 }\r
342\r
343 SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf {\r
344 <LibraryClasses>\r
345 TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf\r
346 }\r
347\r
348 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {\r
349 <LibraryClasses>\r
350 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
351 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
352 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
353 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
354 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
355 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
356 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
357 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
358 }\r
359 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf {\r
360 <LibraryClasses>\r
361 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
362 }\r
363\r
364 SecurityPkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf {\r
365 <LibraryClasses>\r
366 TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf\r
367 }\r
368\r
369 #\r
370 # Hash2\r
371 #\r
372 SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf\r
373\r
374 #\r
375 # PKCS7 Verification\r
376 #\r
377 SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.inf\r
378\r
379[Components.IA32, Components.X64]\r
380\r
381 SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLockSmm.inf\r
382 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf\r
383 SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf\r
384 SecurityPkg/Tcg/Tcg2Smm/Tcg2StandaloneMm.inf\r
385 SecurityPkg/Tcg/Tcg2Smm/Tcg2MmDependencyDxe.inf\r
386 SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.inf\r
387 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf\r
388 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2PhysicalPresenceLib.inf\r
389\r
390 #\r
391 # Opal Password solution\r
392 #\r
393 SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordDxe.inf\r
394 SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.inf\r
395\r
396 #\r
397 # HDD Password solution\r
398 #\r
399 SecurityPkg/HddPassword/HddPasswordDxe.inf\r
400 SecurityPkg/HddPassword/HddPasswordPei.inf\r
401\r
402 #\r
403 # Common FV checker/verifier/reporter\r
404 #\r
405 SecurityPkg/FvReportPei/FvReportPei.inf\r
406\r
407[BuildOptions]\r
408 MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r
409 INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r
410 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r