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