]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/SecurityPkg.dsc
SecurityPkg/dsc: Add PeiTpmMeasurementLib.
[mirror_edk2.git] / SecurityPkg / SecurityPkg.dsc
CommitLineData
0c18794e 1## @file\r
2# Security Module Package for All Architectures.\r
3#\r
b87f31f0 4# Copyright (c) 2009 - 2020, Intel Corporation. All rights reserved.<BR>\r
4efcc11c 5# (C) Copyright 2015-2020 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
4efcc11c 16 SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64\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
b87f31f0 99 TpmMeasurementLib|SecurityPkg/Library/PeiTpmMeasurementLib/PeiTpmMeasurementLib.inf\r
3b60842c 100 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
0c18794e 101\r
102[LibraryClasses.common.DXE_DRIVER]\r
103 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
104 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
566c45a5
MK
105!ifdef CONTINUOUS_INTEGRATION\r
106 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
107!else\r
108 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
109 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
3b947ef1 110 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
566c45a5 111!endif\r
c1d93242
JY
112 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
113 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
1abfa4ce 114 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
2a7ee115 115 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
0c18794e 116\r
117[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]\r
9a000b46 118 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
0c18794e 119 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
c1d93242
JY
120 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
121 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
1abfa4ce 122 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
0c18794e 123\r
3b947ef1 124[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
a782428e 125 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
566c45a5
MK
126!ifdef CONTINUOUS_INTEGRATION\r
127 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
128!else\r
129 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
130 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
3b947ef1 131 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
566c45a5 132!endif\r
c1d93242
JY
133 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
134 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
1abfa4ce 135 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
3b947ef1 136\r
137[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]\r
566c45a5
MK
138!ifdef CONTINUOUS_INTEGRATION\r
139 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
140!else\r
141 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
142 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
3b947ef1 143 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
566c45a5 144!endif\r
c1d93242
JY
145 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
146 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
1abfa4ce 147 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
3b947ef1 148\r
0c18794e 149[LibraryClasses.common.DXE_SMM_DRIVER]\r
9a000b46 150 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
0c18794e 151 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
152 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
a782428e 153 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf\r
9054e55a 154 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
566c45a5
MK
155!ifdef CONTINUOUS_INTEGRATION\r
156 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
157!else\r
158 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
159 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
0c18794e 160 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
566c45a5 161!endif\r
c1d93242 162 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
1abfa4ce
JY
163 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
164 Tcg2PhysicalPresenceLib|SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf\r
350e9150 165 SmmIoLib|MdePkg/Library/SmmIoLib/SmmIoLib.inf\r
d4de4f99 166\r
c1d93242
JY
167[PcdsDynamicDefault.common.DEFAULT]\r
168 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0xb6, 0xe5, 0x01, 0x8b, 0x19, 0x4f, 0xe8, 0x46, 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc}\r
169 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy|1\r
170 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy|1\r
171 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy|1\r
172 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1\r
173 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1\r
1abfa4ce
JY
174 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask|3\r
175 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap|3\r
c1d93242 176\r
dd6d0a52
SZ
177[PcdsDynamicHii.common.DEFAULT]\r
178 gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS\r
fca42289 179 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS\r
dd6d0a52 180\r
0c18794e 181[Components]\r
0c18794e 182 SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
d0043e49 183 SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf\r
0c18794e 184\r
0c18794e 185 #\r
186 # TPM\r
187 #\r
188 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf\r
cbcccd2c 189 SecurityPkg/Library/TpmCommLib/TpmCommLib.inf\r
c1d93242
JY
190 SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf\r
191 SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf\r
192 SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
193 SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
cbcccd2c 194\r
0c18794e 195 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf\r
0c18794e 196 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf\r
c1d93242
JY
197\r
198 #\r
199 # TPM2\r
200 #\r
201 SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
1abfa4ce
JY
202 SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf\r
203 SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf\r
c1d93242
JY
204\r
205 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
206 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
207\r
208 SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r
1abfa4ce 209 SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
c1d93242
JY
210 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
211 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
212 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
213 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf\r
214\r
215 SecurityPkg/Library/HashLibTpm2/HashLibTpm2.inf\r
216\r
d4de4f99
ED
217 #\r
218 # TCG Storage.\r
219 #\r
220 SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCoreLib.inf\r
221 SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf\r
d4de4f99 222\r
d21c2cd0
JW
223 #\r
224 # Variable Confidentiality & Integrity\r
225 #\r
6e9bd495 226 SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNull.inf\r
d21c2cd0
JW
227 SecurityPkg/Library/RpmcLibNull/RpmcLibNull.inf\r
228\r
724dcbb2
JY
229 #\r
230 # Other\r
231 #\r
1a53a034
MK
232 SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.inf\r
233 SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.inf\r
a6811666 234\r
487aa09b
JY
235 SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
236 SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf\r
237\r
b87f31f0 238 SecurityPkg/Library/PeiTpmMeasurementLib/PeiTpmMeasurementLib.inf\r
2f3435c2
BB
239 SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
240 SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r
241 SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf\r
242 SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf\r
243\r
4cecd19a 244[Components.IA32, Components.X64, Components.ARM, Components.AARCH64]\r
a6811666
SZ
245 SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
246\r
4cecd19a 247[Components.IA32, Components.X64]\r
cbcccd2c 248 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
cbcccd2c
LG
249\r
250 #\r
251 # TPM\r
252 #\r
253 SecurityPkg/Tcg/TcgPei/TcgPei.inf\r
254 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf\r
0c18794e 255 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {\r
256 <LibraryClasses>\r
257 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
258 }\r
cbcccd2c 259\r
c1d93242
JY
260 #\r
261 # TPM2\r
262 #\r
263 SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
264 SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
69e259e5
ZC
265 SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
266 SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
edf6ef24 267 SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
c1d93242 268\r
1abfa4ce
JY
269 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {\r
270 <LibraryClasses>\r
271 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
272 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
273 }\r
274 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {\r
275 <LibraryClasses>\r
276 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf\r
277 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
278 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
279 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
8d7aef3d
ZC
280 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
281 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
edf6ef24 282 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
1abfa4ce
JY
283 }\r
284\r
285 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {\r
286 <LibraryClasses>\r
287 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
288 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
289 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
290 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
8d7aef3d
ZC
291 NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf\r
292 NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
edf6ef24 293 NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
1abfa4ce
JY
294 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
295 }\r
296 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf {\r
297 <LibraryClasses>\r
298 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
299 }\r
300\r
b7a66f97
JY
301 #\r
302 # Hash2\r
303 #\r
304 SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf\r
c1d93242 305\r
2d093499
QL
306 #\r
307 # PKCS7 Verification\r
308 #\r
309 SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.inf\r
310\r
0c18794e 311[Components.IA32, Components.X64]\r
70c7664c
JY
312\r
313 SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLockSmm.inf\r
cbcccd2c 314 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf\r
1abfa4ce
JY
315 SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf\r
316 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf\r
ff469eae 317\r
3aa8dc6c
LQ
318 #\r
319 # Random Number Generator\r
320 #\r
321 SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf\r
0c18794e 322\r
d4de4f99
ED
323 #\r
324 # Opal Password solution\r
325 #\r
112e584b
SZ
326 SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordDxe.inf\r
327 SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.inf\r
d4de4f99 328\r
e8959f81
HW
329 #\r
330 # HDD Password solution\r
331 #\r
332 SecurityPkg/HddPassword/HddPasswordDxe.inf\r
333 SecurityPkg/HddPassword/HddPasswordPei.inf\r
334\r
8b6f0b5c
JW
335 #\r
336 # Common FV checker/verifier/reporter\r
337 #\r
338 SecurityPkg/FvReportPei/FvReportPei.inf\r
339\r
0c18794e 340[BuildOptions]\r
341 MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r
342 INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r
b32f094c 343 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
0c18794e 344\r