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