blob: 591062c041d73c931a4e81809ddfe4e403dca01d [file] [log] [blame]
gdong10c187942011-09-02 07:49:32 +00001## @file
2# Security Module Package for All Architectures.
3#
Dong Guo7527b532014-01-10 01:24:51 +00004# Copyright (c) 2009 - 2014, 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
Dong Guo7527b532014-01-10 01:24:51 +000018 PLATFORM_VERSION = 0.93
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
45 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
46 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
47 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
gdong10c187942011-09-02 07:49:32 +000048 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
49 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
50 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
51 TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
gdong1607599b2011-09-27 08:44:33 +000052 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
53 TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
czhang46a332cfd2012-11-27 05:16:15 +000054 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
jyao1c1d93242013-09-18 05:31:18 +000055 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
56 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
57 TrEEPhysicalPresenceLib|SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.inf
gdong10c187942011-09-02 07:49:32 +000058
59[LibraryClasses.common.PEIM]
60 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
61 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
62 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
63 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
64 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
tye13b947ef2012-07-20 03:36:21 +000065 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
jyao1c1d93242013-09-18 05:31:18 +000066 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
67 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
68 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
gdong10c187942011-09-02 07:49:32 +000069
70[LibraryClasses.common.DXE_DRIVER]
71 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
72 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
tye13b947ef2012-07-20 03:36:21 +000073 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
jyao1c1d93242013-09-18 05:31:18 +000074 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
75 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
76 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
gdong10c187942011-09-02 07:49:32 +000077
78[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]
niruiyu9a000b42011-10-19 12:40:52 +000079 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
gdong10c187942011-09-02 07:49:32 +000080 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
jyao1c1d93242013-09-18 05:31:18 +000081 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
82 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
83 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
gdong10c187942011-09-02 07:49:32 +000084
tye13b947ef2012-07-20 03:36:21 +000085[LibraryClasses.common.DXE_RUNTIME_DRIVER]
86 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
jyao1c1d93242013-09-18 05:31:18 +000087 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
88 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
89 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
tye13b947ef2012-07-20 03:36:21 +000090
91[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
92 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.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
gdong10c187942011-09-02 07:49:32 +000097[LibraryClasses.IPF.DXE_SAL_DRIVER]
98 ExtendedSalLib|MdePkg/Library/DxeRuntimeExtendedSalLib/DxeRuntimeExtendedSalLib.inf
tye13b947ef2012-07-20 03:36:21 +000099 BaseCryptLib|CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf
jyao1c1d93242013-09-18 05:31:18 +0000100 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
101 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
102 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
gdong10c187942011-09-02 07:49:32 +0000103
104[LibraryClasses.common.DXE_SMM_DRIVER]
niruiyu9a000b42011-10-19 12:40:52 +0000105 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
gdong10c187942011-09-02 07:49:32 +0000106 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
107 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
108 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
jyao1c1d93242013-09-18 05:31:18 +0000109 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
110 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
gdong10c187942011-09-02 07:49:32 +0000111
jyao1c1d93242013-09-18 05:31:18 +0000112[PcdsDynamicDefault.common.DEFAULT]
113 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0xb6, 0xe5, 0x01, 0x8b, 0x19, 0x4f, 0xe8, 0x46, 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc}
114 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy|1
115 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy|1
116 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy|1
117 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1
118 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1
119
gdong10c187942011-09-02 07:49:32 +0000120[Components]
121 SecurityPkg/VariableAuthenticated/Pei/VariablePei.inf
122 SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
123 SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf
czhang46d0043e42012-09-13 08:34:32 +0000124 SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf
gdong10c187942011-09-02 07:49:32 +0000125 SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManagerDxe.inf
126 SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerDxe.inf
gdong10c187942011-09-02 07:49:32 +0000127
128 #
129 # Application
130 #
131 SecurityPkg/Application/VariableInfo/VariableInfo.inf
Long, Qin3aa8dc62013-11-19 01:49:49 +0000132 SecurityPkg/Application/RngTest/RngTest.inf
gdong10c187942011-09-02 07:49:32 +0000133
134 #
135 # TPM
136 #
137 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
lgao4cbcccd22013-05-13 02:36:09 +0000138 SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
jyao1c1d93242013-09-18 05:31:18 +0000139 SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
140 SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
141 SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
142 SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
lgao4cbcccd22013-05-13 02:36:09 +0000143
gdong10c187942011-09-02 07:49:32 +0000144 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
gdong10c187942011-09-02 07:49:32 +0000145 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
jyao1c1d93242013-09-18 05:31:18 +0000146
147 #
148 # TPM2
149 #
150 SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
151 SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.inf
152
153 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
154 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
155
156 SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
157 SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
158 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
159 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
160 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
161 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf
162
163 SecurityPkg/Library/HashLibTpm2/HashLibTpm2.inf
164
lgao4cbcccd22013-05-13 02:36:09 +0000165[Components.IA32, Components.X64, Components.IPF]
166 SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProviderDxe.inf
167 SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProviderDxe.inf
168 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
169 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
170
171 #
172 # TPM
173 #
174 SecurityPkg/Tcg/TcgPei/TcgPei.inf
175 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
gdong10c187942011-09-02 07:49:32 +0000176 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
177 <LibraryClasses>
178 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
179 }
lgao4cbcccd22013-05-13 02:36:09 +0000180
jyao1c1d93242013-09-18 05:31:18 +0000181 #
182 # TPM2
183 #
184 SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
185 SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
186
187 SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf {
188 <LibraryClasses>
189 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
190 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
191 }
192 SecurityPkg/Tcg/TrEEPei/TrEEPei.inf {
193 <LibraryClasses>
194 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf
195 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
196 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
197 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
198 }
199
200 SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf {
201 <LibraryClasses>
202 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
203 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
204 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
205 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
206 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
207 }
208 SecurityPkg/Tcg/TrEEConfig/TrEEConfigDxe.inf {
209 <LibraryClasses>
210 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
211 }
212
gdong10c187942011-09-02 07:49:32 +0000213[Components.IA32, Components.X64]
gdong10c187942011-09-02 07:49:32 +0000214 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmm.inf
215 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.inf
lgao4cbcccd22013-05-13 02:36:09 +0000216 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
jyao1c1d93242013-09-18 05:31:18 +0000217 SecurityPkg/Tcg/TrEESmm/TrEESmm.inf
Long, Qin3aa8dc62013-11-19 01:49:49 +0000218 #
219 # Random Number Generator
220 #
221 SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
gdong10c187942011-09-02 07:49:32 +0000222
223[Components.IPF]
224 SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/EsalVariableDxeSal.inf
225
gdong10c187942011-09-02 07:49:32 +0000226[BuildOptions]
227 MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
228 INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256
229