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