]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/SecurityPkg.dsc
Add TPM Physical Presence >=128 operation value support.
[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
45 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
46 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
47 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
0c18794e 48 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
49 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
50 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
51 TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf\r
607599bf 52 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r
53 TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf\r
a332cfd3 54 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
c1d93242
JY
55 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf\r
56 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r
57 TrEEPhysicalPresenceLib|SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.inf\r
4610b23a
JY
58 TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf\r
59 TrEEPpVendorLib|SecurityPkg/Library/TrEEPpVendorLibNull/TrEEPpVendorLibNull.inf\r
0c18794e 60\r
61[LibraryClasses.common.PEIM]\r
62 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
63 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
64 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
65 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
66 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
3b947ef1 67 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
c1d93242
JY
68 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
69 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
70 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
0c18794e 71\r
72[LibraryClasses.common.DXE_DRIVER]\r
73 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
74 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
3b947ef1 75 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
c1d93242
JY
76 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
77 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
78 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf\r
0c18794e 79\r
80[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]\r
9a000b46 81 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
0c18794e 82 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
c1d93242
JY
83 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
84 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
85 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf\r
0c18794e 86\r
3b947ef1 87[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
88 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
c1d93242
JY
89 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
90 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
91 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf\r
3b947ef1 92\r
93[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]\r
94 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
c1d93242
JY
95 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
96 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
97 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf\r
3b947ef1 98\r
0c18794e 99[LibraryClasses.IPF.DXE_SAL_DRIVER]\r
100 ExtendedSalLib|MdePkg/Library/DxeRuntimeExtendedSalLib/DxeRuntimeExtendedSalLib.inf\r
3b947ef1 101 BaseCryptLib|CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf\r
c1d93242
JY
102 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
103 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
104 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf\r
0c18794e 105\r
106[LibraryClasses.common.DXE_SMM_DRIVER]\r
9a000b46 107 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
0c18794e 108 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
109 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
110 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
c1d93242
JY
111 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
112 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf\r
0c18794e 113 \r
c1d93242
JY
114[PcdsDynamicDefault.common.DEFAULT]\r
115 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0xb6, 0xe5, 0x01, 0x8b, 0x19, 0x4f, 0xe8, 0x46, 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc}\r
116 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy|1\r
117 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy|1\r
118 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy|1\r
119 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1\r
120 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1\r
121\r
0c18794e 122[Components]\r
123 SecurityPkg/VariableAuthenticated/Pei/VariablePei.inf\r
124 SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
68d151bb 125 #SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf\r
d0043e49 126 SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf\r
68d151bb
DG
127 #SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManagerDxe.inf\r
128 #SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerDxe.inf\r
0c18794e 129\r
130 #\r
131 # Application\r
132 #\r
133 SecurityPkg/Application/VariableInfo/VariableInfo.inf\r
3aa8dc6c 134 SecurityPkg/Application/RngTest/RngTest.inf\r
0c18794e 135\r
136 #\r
137 # TPM\r
138 #\r
139 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf\r
cbcccd2c 140 SecurityPkg/Library/TpmCommLib/TpmCommLib.inf\r
c1d93242
JY
141 SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf\r
142 SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf\r
143 SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
144 SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r
cbcccd2c 145\r
0c18794e 146 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf\r
0c18794e 147 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf\r
c1d93242
JY
148\r
149 #\r
150 # TPM2\r
151 #\r
152 SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
153 SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.inf\r
154\r
155 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
156 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
157\r
158 SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r
159 SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf\r
160 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
161 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
162 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
163 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf\r
164\r
165 SecurityPkg/Library/HashLibTpm2/HashLibTpm2.inf\r
166\r
1a53a034
MK
167 SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.inf\r
168 SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.inf\r
169 \r
cbcccd2c 170[Components.IA32, Components.X64, Components.IPF]\r
2001537d 171# SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProviderDxe.inf\r
68d151bb 172# SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProviderDxe.inf\r
cbcccd2c
LG
173 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
174 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf\r
175\r
176 #\r
177 # TPM\r
178 #\r
179 SecurityPkg/Tcg/TcgPei/TcgPei.inf\r
180 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf\r
0c18794e 181 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {\r
182 <LibraryClasses>\r
183 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
184 }\r
cbcccd2c 185\r
c1d93242
JY
186 #\r
187 # TPM2\r
188 #\r
189 SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
190 SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
191\r
192 SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf {\r
193 <LibraryClasses>\r
194 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
195 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r
196 }\r
197 SecurityPkg/Tcg/TrEEPei/TrEEPei.inf {\r
198 <LibraryClasses>\r
199 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf\r
200 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
201 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
202 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
203 }\r
204\r
205 SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf {\r
206 <LibraryClasses>\r
207 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
208 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r
209 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
210 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
211 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
212 }\r
213 SecurityPkg/Tcg/TrEEConfig/TrEEConfigDxe.inf {\r
214 <LibraryClasses>\r
215 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf\r
216 }\r
217\r
0c18794e 218[Components.IA32, Components.X64]\r
0c18794e 219 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmm.inf\r
220 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
cbcccd2c 221 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf\r
c1d93242 222 SecurityPkg/Tcg/TrEESmm/TrEESmm.inf\r
3aa8dc6c
LQ
223 #\r
224 # Random Number Generator\r
225 #\r
226 SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf\r
0c18794e 227\r
228[Components.IPF]\r
229 SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/EsalVariableDxeSal.inf \r
230\r
0c18794e 231[BuildOptions]\r
232 MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r
233 INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r
234\r