]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/SecurityPkg.dsc
SecurityPkg: add null version of VariableKeyLib
[mirror_edk2.git] / SecurityPkg / SecurityPkg.dsc
CommitLineData
0c18794e 1## @file\r
2# Security Module Package for All Architectures.\r
3#\r
514c55c1 4# Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.<BR>\r
3b60842c 5# (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
289b714b 6# SPDX-License-Identifier: BSD-2-Clause-Patent\r
0c18794e 7#\r
8##\r
9\r
10[Defines]\r
11 PLATFORM_NAME = SecurityPkg\r
12 PLATFORM_GUID = B2C4614D-AE76-47ba-B876-5988BFED064F\r
b921c629 13 PLATFORM_VERSION = 0.98\r
0c18794e 14 DSC_SPECIFICATION = 0x00010005\r
15 OUTPUT_DIRECTORY = Build/SecurityPkg\r
4cecd19a 16 SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64\r
a76e4c1c 17 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
0c18794e 18 SKUID_IDENTIFIER = DEFAULT\r
19\r
20[LibraryClasses]\r
21 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
d4de4f99 22 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
0c18794e 23 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
24 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
25 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
26 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
27 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
28 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
29 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
c1d93242 30 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
5e9dfc67
LG
31 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
32 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
0c18794e 33\r
34 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
35 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
36 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
37 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
38 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
39 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
40 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
41 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
5dbb6635
JY
42 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
43 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
0c18794e 44 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
45 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
46 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
0c18794e 47 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
48 TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf\r
607599bf 49 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r
50 TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf\r
a332cfd3 51 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
c1d93242
JY
52 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf\r
53 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r
1abfa4ce 54 Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf\r
4610b23a 55 TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf\r
1abfa4ce 56 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf\r
3b60842c 57 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
d4de4f99 58 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
ed14533c 59 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
d4de4f99
ED
60 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
61 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
62 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r
63 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
64 TcgStorageCoreLib|SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCoreLib.inf\r
65 TcgStorageOpalLib|SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf\r
5919a960 66 ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf\r
6e9bd495 67 VariableKeyLib|SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNull.inf\r
d21c2cd0 68 RpmcLib|SecurityPkg/Library/RpmcLibNull/RpmcLibNull.inf\r
0c18794e 69\r
2f0a1e65
LL
70[LibraryClasses.ARM]\r
71 #\r
72 # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
d6b926e7 73 # This library provides the intrinsic functions generate by a given compiler.\r
2f0a1e65
LL
74 # And NULL mean link this library into all ARM images.\r
75 #\r
76 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
77\r
78 # Add support for GCC stack protector\r
79 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
80\r
0c18794e 81[LibraryClasses.common.PEIM]\r
82 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
83 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
84 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
85 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
86 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
566c45a5
MK
87!ifdef CONTINUOUS_INTEGRATION\r
88 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
89!else\r
90 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
91 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
3b947ef1 92 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
566c45a5 93!endif\r
c1d93242 94 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
5dbb6635 95 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
c1d93242
JY
96 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
97 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
1abfa4ce 98 Tcg2PhysicalPresenceLib|SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf\r
3b60842c 99 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
0c18794e 100\r
101[LibraryClasses.common.DXE_DRIVER]\r
102 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
103 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
566c45a5
MK
104!ifdef CONTINUOUS_INTEGRATION\r
105 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
106!else\r
107 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
108 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
3b947ef1 109 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
566c45a5 110!endif\r
c1d93242
JY
111 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
112 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
1abfa4ce 113 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
2a7ee115 114 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
0c18794e 115\r
116[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]\r
9a000b46 117 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
0c18794e 118 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
c1d93242
JY
119 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
120 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
1abfa4ce 121 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
0c18794e 122\r
3b947ef1 123[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
a782428e 124 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
566c45a5
MK
125!ifdef CONTINUOUS_INTEGRATION\r
126 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
127!else\r
128 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
129 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
3b947ef1 130 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
566c45a5 131!endif\r
c1d93242
JY
132 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
133 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
1abfa4ce 134 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
3b947ef1 135\r
136[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]\r
566c45a5
MK
137!ifdef CONTINUOUS_INTEGRATION\r
138 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
139!else\r
140 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
141 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
3b947ef1 142 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
566c45a5 143!endif\r
c1d93242
JY
144 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
145 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
1abfa4ce 146 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
3b947ef1 147\r
0c18794e 148[LibraryClasses.common.DXE_SMM_DRIVER]\r
9a000b46 149 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
0c18794e 150 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
151 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
a782428e 152 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf\r
9054e55a 153 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
566c45a5
MK
154!ifdef CONTINUOUS_INTEGRATION\r
155 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
156!else\r
157 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
158 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
0c18794e 159 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
566c45a5 160!endif\r
c1d93242 161 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
1abfa4ce
JY
162 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
163 Tcg2PhysicalPresenceLib|SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf\r
350e9150 164 SmmIoLib|MdePkg/Library/SmmIoLib/SmmIoLib.inf\r
d4de4f99 165\r
c1d93242
JY
166[PcdsDynamicDefault.common.DEFAULT]\r
167 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0xb6, 0xe5, 0x01, 0x8b, 0x19, 0x4f, 0xe8, 0x46, 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc}\r
168 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy|1\r
169 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy|1\r
170 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy|1\r
171 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1\r
172 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1\r
1abfa4ce
JY
173 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask|3\r
174 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap|3\r
c1d93242 175\r
dd6d0a52
SZ
176[PcdsDynamicHii.common.DEFAULT]\r
177 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS\r
fca42289 178 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS\r
dd6d0a52 179\r
0c18794e 180[Components]\r
0c18794e 181 SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
d0043e49 182 SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf\r
0c18794e 183\r
0c18794e 184 #\r
185 # TPM\r
186 #\r
187 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf\r
cbcccd2c 188 SecurityPkg/Library/TpmCommLib/TpmCommLib.inf\r
c1d93242
JY
189 SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf\r
190 SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf\r
191 SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
192 SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
cbcccd2c 193\r
0c18794e 194 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf\r
0c18794e 195 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf\r
c1d93242
JY
196\r
197 #\r
198 # TPM2\r
199 #\r
200 SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
1abfa4ce
JY
201 SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf\r
202 SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf\r
c1d93242
JY
203\r
204 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
205 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
206\r
207 SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r
1abfa4ce 208 SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
c1d93242
JY
209 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
210 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
211 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
212 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf\r
213\r
214 SecurityPkg/Library/HashLibTpm2/HashLibTpm2.inf\r
215\r
d4de4f99
ED
216 #\r
217 # TCG Storage.\r
218 #\r
219 SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCoreLib.inf\r
220 SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf\r
d4de4f99 221\r
d21c2cd0
JW
222 #\r
223 # Variable Confidentiality & Integrity\r
224 #\r
6e9bd495 225 SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNull.inf\r
d21c2cd0
JW
226 SecurityPkg/Library/RpmcLibNull/RpmcLibNull.inf\r
227\r
724dcbb2
JY
228 #\r
229 # Other\r
230 #\r
1a53a034
MK
231 SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.inf\r
232 SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.inf\r
a6811666 233\r
487aa09b
JY
234 SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
235 SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf\r
236\r
2f3435c2
BB
237 SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
238 SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r
239 SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf\r
240 SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf\r
241\r
4cecd19a 242[Components.IA32, Components.X64, Components.ARM, Components.AARCH64]\r
a6811666
SZ
243 SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
244\r
4cecd19a 245[Components.IA32, Components.X64]\r
cbcccd2c 246 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
cbcccd2c
LG
247\r
248 #\r
249 # TPM\r
250 #\r
251 SecurityPkg/Tcg/TcgPei/TcgPei.inf\r
252 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf\r
0c18794e 253 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {\r
254 <LibraryClasses>\r
255 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
256 }\r
cbcccd2c 257\r
c1d93242
JY
258 #\r
259 # TPM2\r
260 #\r
261 SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
262 SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
69e259e5
ZC
263 SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
264 SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
edf6ef24 265 SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
c1d93242 266\r
1abfa4ce
JY
267 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {\r
268 <LibraryClasses>\r
269 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
270 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
271 }\r
272 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {\r
273 <LibraryClasses>\r
274 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf\r
275 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
276 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
277 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
8d7aef3d
ZC
278 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
279 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
edf6ef24 280 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
1abfa4ce
JY
281 }\r
282\r
283 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {\r
284 <LibraryClasses>\r
285 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
286 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
287 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
288 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
8d7aef3d
ZC
289 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
290 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
edf6ef24 291 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
1abfa4ce
JY
292 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
293 }\r
294 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf {\r
295 <LibraryClasses>\r
296 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
297 }\r
298\r
b7a66f97
JY
299 #\r
300 # Hash2\r
301 #\r
302 SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf\r
c1d93242 303\r
2d093499
QL
304 #\r
305 # PKCS7 Verification\r
306 #\r
307 SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.inf\r
308\r
0c18794e 309[Components.IA32, Components.X64]\r
70c7664c
JY
310\r
311 SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLockSmm.inf\r
cbcccd2c 312 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf\r
1abfa4ce
JY
313 SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf\r
314 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf\r
ff469eae 315\r
3aa8dc6c
LQ
316 #\r
317 # Random Number Generator\r
318 #\r
319 SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf\r
0c18794e 320\r
d4de4f99
ED
321 #\r
322 # Opal Password solution\r
323 #\r
112e584b
SZ
324 SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordDxe.inf\r
325 SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.inf\r
d4de4f99 326\r
e8959f81
HW
327 #\r
328 # HDD Password solution\r
329 #\r
330 SecurityPkg/HddPassword/HddPasswordDxe.inf\r
331 SecurityPkg/HddPassword/HddPasswordPei.inf\r
332\r
8b6f0b5c
JW
333 #\r
334 # Common FV checker/verifier/reporter\r
335 #\r
336 SecurityPkg/FvReportPei/FvReportPei.inf\r
337\r
0c18794e 338[BuildOptions]\r
339 MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r
340 INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r
b32f094c 341 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
0c18794e 342\r