]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/SecurityPkg.dsc
SecurityPkg: Add FileExplorerLib.inf to the dsc file
[mirror_edk2.git] / SecurityPkg / SecurityPkg.dsc
1 ## @file
2 # Security Module Package for All Architectures.
3 #
4 # Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
5 # (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 ##
15
16 [Defines]
17 PLATFORM_NAME = SecurityPkg
18 PLATFORM_GUID = B2C4614D-AE76-47ba-B876-5988BFED064F
19 PLATFORM_VERSION = 0.96
20 DSC_SPECIFICATION = 0x00010005
21 OUTPUT_DIRECTORY = Build/SecurityPkg
22 SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC
23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
24 SKUID_IDENTIFIER = DEFAULT
25
26 [LibraryClasses]
27 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
28 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
29 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
30 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
31 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
32 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
33 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
34 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
35 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
36 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.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 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
52 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
53 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
54 TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
55 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
56 TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
57 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
58 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
59 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
60 Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
61 TrEEPhysicalPresenceLib|SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.inf
62 TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf
63 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
64 TrEEPpVendorLib|SecurityPkg/Library/TrEEPpVendorLibNull/TrEEPpVendorLibNull.inf
65 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
66
67 [LibraryClasses.common.PEIM]
68 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
69 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
70 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
71 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
72 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
73 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
74 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
75 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
76 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
77 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
78 Tcg2PhysicalPresenceLib|SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf
79 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
80
81 [LibraryClasses.common.DXE_DRIVER]
82 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
83 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
84 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
85 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
86 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
87 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
88 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
89
90 [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]
91 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
92 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
93 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
94 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
95 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
96
97 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
98 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
99 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
100 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
101 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
102 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
103
104 [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
105 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
106 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
107 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
108 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
109
110 [LibraryClasses.IPF.DXE_SAL_DRIVER]
111 ExtendedSalLib|MdePkg/Library/DxeRuntimeExtendedSalLib/DxeRuntimeExtendedSalLib.inf
112 BaseCryptLib|CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf
113 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
114 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
115 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
116
117 [LibraryClasses.common.DXE_SMM_DRIVER]
118 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
119 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
120 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
121 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
122 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
123 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
124 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
125 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
126 Tcg2PhysicalPresenceLib|SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf
127
128 [PcdsDynamicDefault.common.DEFAULT]
129 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0xb6, 0xe5, 0x01, 0x8b, 0x19, 0x4f, 0xe8, 0x46, 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc}
130 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy|1
131 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy|1
132 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy|1
133 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1
134 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1
135 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask|3
136 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap|3
137
138 [Components]
139 SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
140 #SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf
141 SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf
142 #SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManagerDxe.inf
143 #SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerDxe.inf
144
145 #
146 # Application
147 #
148 SecurityPkg/Application/RngTest/RngTest.inf
149
150 #
151 # TPM
152 #
153 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
154 SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
155 SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
156 SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
157 SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
158 SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
159
160 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
161 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
162
163 #
164 # TPM2
165 #
166 SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
167 SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
168 SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf
169 #
170 # TrEE - to be deprecated
171 #
172 SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.inf
173
174 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
175 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
176
177 SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
178 SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
179 #
180 # TrEE - to be deprecated
181 #
182 SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
183 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
184 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
185 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
186 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf
187
188 SecurityPkg/Library/HashLibTpm2/HashLibTpm2.inf
189
190 #
191 # Other
192 #
193 SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.inf
194 SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.inf
195
196 SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
197
198 [Components.IA32, Components.X64, Components.IPF]
199 # SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProviderDxe.inf
200 # SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProviderDxe.inf
201 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
202
203 #
204 # TPM
205 #
206 SecurityPkg/Tcg/TcgPei/TcgPei.inf
207 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
208 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
209 <LibraryClasses>
210 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
211 }
212
213 #
214 # TPM2
215 #
216 SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
217 SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
218
219 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {
220 <LibraryClasses>
221 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
222 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
223 }
224 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
225 <LibraryClasses>
226 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf
227 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
228 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
229 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
230 }
231
232 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
233 <LibraryClasses>
234 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
235 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
236 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
237 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
238 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
239 }
240 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf {
241 <LibraryClasses>
242 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
243 }
244
245 #
246 # TrEE - to be deprecated
247 #
248 SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf {
249 <LibraryClasses>
250 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
251 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
252 }
253 SecurityPkg/Tcg/TrEEPei/TrEEPei.inf {
254 <LibraryClasses>
255 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf
256 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
257 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
258 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
259 }
260
261 SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf {
262 <LibraryClasses>
263 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
264 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
265 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
266 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
267 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
268 }
269 SecurityPkg/Tcg/TrEEConfig/TrEEConfigDxe.inf {
270 <LibraryClasses>
271 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
272 }
273
274 #
275 # Hash2
276 #
277 SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
278
279 #
280 # PKCS7 Verification
281 #
282 SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.inf
283
284 [Components.IA32, Components.X64]
285
286 SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLockSmm.inf
287 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
288 SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
289 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf
290 #
291 # TrEE - to be deprecated
292 #
293 SecurityPkg/Tcg/TrEESmm/TrEESmm.inf
294 #
295 # Random Number Generator
296 #
297 SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
298
299 [Components.IPF]
300 SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/EsalVariableDxeSal.inf
301
302 [BuildOptions]
303 MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
304 INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256
305