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