blob: 2d464a05178848193d46442f60cc1492cc899ce8 [file] [log] [blame]
gdong10c187942011-09-02 07:49:32 +00001## @file
2# Security Module Package for All Architectures.
3#
Yao, Jiewen4610b232015-01-12 03:16:49 +00004# Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
gdong10c187942011-09-02 07:49:32 +00005# 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
Star Zeng7ae77ce2015-07-01 03:13:02 +000018 PLATFORM_VERSION = 0.95
gdong10c187942011-09-02 07:49:32 +000019 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
jyao1c1d93242013-09-18 05:31:18 +000035 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
gdong10c187942011-09-02 07:49:32 +000036
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
Yao, Jiewen5dbb6632015-01-13 01:18:11 +000045 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
46 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
gdong10c187942011-09-02 07:49:32 +000047 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
48 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
49 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
gdong10c187942011-09-02 07:49:32 +000050 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
gdong1607599b2011-09-27 08:44:33 +000054 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
55 TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
czhang46a332cfd2012-11-27 05:16:15 +000056 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
jyao1c1d93242013-09-18 05:31:18 +000057 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
58 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
59 TrEEPhysicalPresenceLib|SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.inf
Yao, Jiewen4610b232015-01-12 03:16:49 +000060 TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf
61 TrEEPpVendorLib|SecurityPkg/Library/TrEEPpVendorLibNull/TrEEPpVendorLibNull.inf
gdong10c187942011-09-02 07:49:32 +000062
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
tye13b947ef2012-07-20 03:36:21 +000069 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
jyao1c1d93242013-09-18 05:31:18 +000070 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
Yao, Jiewen5dbb6632015-01-13 01:18:11 +000071 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
jyao1c1d93242013-09-18 05:31:18 +000072 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
73 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
gdong10c187942011-09-02 07:49:32 +000074
75[LibraryClasses.common.DXE_DRIVER]
76 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
77 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
tye13b947ef2012-07-20 03:36:21 +000078 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
jyao1c1d93242013-09-18 05:31:18 +000079 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
80 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
81 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
gdong10c187942011-09-02 07:49:32 +000082
83[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]
niruiyu9a000b42011-10-19 12:40:52 +000084 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
gdong10c187942011-09-02 07:49:32 +000085 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
jyao1c1d93242013-09-18 05:31:18 +000086 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
87 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
88 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
gdong10c187942011-09-02 07:49:32 +000089
tye13b947ef2012-07-20 03:36:21 +000090[LibraryClasses.common.DXE_RUNTIME_DRIVER]
Yao, Jiewena7824282015-01-13 01:23:15 +000091 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
tye13b947ef2012-07-20 03:36:21 +000092 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
jyao1c1d93242013-09-18 05:31:18 +000093 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
94 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
95 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
tye13b947ef2012-07-20 03:36:21 +000096
97[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
98 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
jyao1c1d93242013-09-18 05:31:18 +000099 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
100 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
101 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
tye13b947ef2012-07-20 03:36:21 +0000102
gdong10c187942011-09-02 07:49:32 +0000103[LibraryClasses.IPF.DXE_SAL_DRIVER]
104 ExtendedSalLib|MdePkg/Library/DxeRuntimeExtendedSalLib/DxeRuntimeExtendedSalLib.inf
tye13b947ef2012-07-20 03:36:21 +0000105 BaseCryptLib|CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf
jyao1c1d93242013-09-18 05:31:18 +0000106 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
107 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
108 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
gdong10c187942011-09-02 07:49:32 +0000109
110[LibraryClasses.common.DXE_SMM_DRIVER]
niruiyu9a000b42011-10-19 12:40:52 +0000111 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
gdong10c187942011-09-02 07:49:32 +0000112 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
113 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
Yao, Jiewena7824282015-01-13 01:23:15 +0000114 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
Yao, Jiewen9054e552015-02-02 14:43:28 +0000115 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
gdong10c187942011-09-02 07:49:32 +0000116 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
jyao1c1d93242013-09-18 05:31:18 +0000117 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
118 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
gdong10c187942011-09-02 07:49:32 +0000119
jyao1c1d93242013-09-18 05:31:18 +0000120[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
gdong10c187942011-09-02 07:49:32 +0000128[Components]
gdong10c187942011-09-02 07:49:32 +0000129 SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
Dong Guo68d151b2014-03-21 00:57:42 +0000130 #SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf
czhang46d0043e42012-09-13 08:34:32 +0000131 SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf
Dong Guo68d151b2014-03-21 00:57:42 +0000132 #SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManagerDxe.inf
133 #SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerDxe.inf
gdong10c187942011-09-02 07:49:32 +0000134
135 #
136 # Application
137 #
Long, Qin3aa8dc62013-11-19 01:49:49 +0000138 SecurityPkg/Application/RngTest/RngTest.inf
gdong10c187942011-09-02 07:49:32 +0000139
140 #
141 # TPM
142 #
143 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
lgao4cbcccd22013-05-13 02:36:09 +0000144 SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
jyao1c1d93242013-09-18 05:31:18 +0000145 SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
146 SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
147 SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
148 SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
lgao4cbcccd22013-05-13 02:36:09 +0000149
gdong10c187942011-09-02 07:49:32 +0000150 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
gdong10c187942011-09-02 07:49:32 +0000151 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
jyao1c1d93242013-09-18 05:31:18 +0000152
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
Yao, Jiewen724dcbb2015-05-05 01:40:16 +0000171 #
Yao, Jiewen724dcbb2015-05-05 01:40:16 +0000172 # Other
173 #
Michael Kinney1a53a032014-08-14 06:31:34 +0000174 SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.inf
175 SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.inf
Star Zenga6811662015-07-01 03:04:59 +0000176
177 SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
178
lgao4cbcccd22013-05-13 02:36:09 +0000179[Components.IA32, Components.X64, Components.IPF]
Dong Guo20015372014-03-23 23:47:18 +0000180# SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProviderDxe.inf
Dong Guo68d151b2014-03-21 00:57:42 +0000181# SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProviderDxe.inf
lgao4cbcccd22013-05-13 02:36:09 +0000182 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
lgao4cbcccd22013-05-13 02:36:09 +0000183
184 #
185 # TPM
186 #
187 SecurityPkg/Tcg/TcgPei/TcgPei.inf
188 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
gdong10c187942011-09-02 07:49:32 +0000189 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
190 <LibraryClasses>
191 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
192 }
lgao4cbcccd22013-05-13 02:36:09 +0000193
jyao1c1d93242013-09-18 05:31:18 +0000194 #
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 }
Yao, Jiewenb7a66f92015-05-08 07:25:06 +0000225
226 #
227 # Hash2
228 #
229 SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
jyao1c1d93242013-09-18 05:31:18 +0000230
Qin Long2d093492015-06-19 02:45:06 +0000231 #
232 # PKCS7 Verification
233 #
234 SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.inf
235
gdong10c187942011-09-02 07:49:32 +0000236[Components.IA32, Components.X64]
Yao, Jiewen70c76642015-07-28 07:20:58 +0000237
238 SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLockSmm.inf
lgao4cbcccd22013-05-13 02:36:09 +0000239 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
jyao1c1d93242013-09-18 05:31:18 +0000240 SecurityPkg/Tcg/TrEESmm/TrEESmm.inf
Long, Qin3aa8dc62013-11-19 01:49:49 +0000241 #
242 # Random Number Generator
243 #
244 SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
gdong10c187942011-09-02 07:49:32 +0000245
246[Components.IPF]
247 SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/EsalVariableDxeSal.inf
248
gdong10c187942011-09-02 07:49:32 +0000249[BuildOptions]
250 MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
251 INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256
252