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