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