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