2 # Security Module Package for All Architectures.
4 # Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
5 # (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 PLATFORM_NAME = SecurityPkg
18 PLATFORM_GUID = B2C4614D-AE76-47ba-B876-5988BFED064F
19 PLATFORM_VERSION = 0.96
20 DSC_SPECIFICATION = 0x00010005
21 OUTPUT_DIRECTORY = Build/SecurityPkg
22 SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC
23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
24 SKUID_IDENTIFIER = DEFAULT
27 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
28 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
29 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
30 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
31 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
32 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
33 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
34 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
35 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
36 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
38 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
39 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
40 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
41 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
42 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
43 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
44 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
45 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
46 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
47 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
48 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
49 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
50 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
51 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
52 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
53 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
54 TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
55 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
56 TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
57 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
58 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
59 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
60 Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
61 TrEEPhysicalPresenceLib|SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.inf
62 TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf
63 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
64 TrEEPpVendorLib|SecurityPkg/Library/TrEEPpVendorLibNull/TrEEPpVendorLibNull.inf
65 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
66 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
67 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
68 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
69 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
70 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
71 TcgStorageCoreLib|SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCoreLib.inf
72 TcgStorageOpalLib|SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf
73 OpalPasswordSupportLib|SecurityPkg/Library/OpalPasswordSupportLib/OpalPasswordSupportLib.inf
75 [LibraryClasses.common.PEIM]
76 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
77 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
78 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
79 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
80 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
81 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
82 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
83 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
84 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
85 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
86 Tcg2PhysicalPresenceLib|SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf
87 RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
89 [LibraryClasses.common.DXE_DRIVER]
90 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
91 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
92 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
93 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
94 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
95 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
96 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
98 [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]
99 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
100 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
101 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
102 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
103 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
105 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
106 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
107 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
108 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
109 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
110 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
112 [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
113 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
114 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
115 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
116 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
118 [LibraryClasses.IPF.DXE_SAL_DRIVER]
119 ExtendedSalLib|MdePkg/Library/DxeRuntimeExtendedSalLib/DxeRuntimeExtendedSalLib.inf
120 BaseCryptLib|CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf
121 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
122 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
123 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
125 [LibraryClasses.common.DXE_SMM_DRIVER]
126 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
127 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
128 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
129 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
130 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
131 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
132 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
133 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
134 Tcg2PhysicalPresenceLib|SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf
136 [PcdsDynamicDefault.common.DEFAULT]
137 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0xb6, 0xe5, 0x01, 0x8b, 0x19, 0x4f, 0xe8, 0x46, 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc}
138 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy|1
139 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy|1
140 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy|1
141 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1
142 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1
143 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask|3
144 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap|3
147 SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
148 #SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf
149 SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf
150 #SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManagerDxe.inf
151 #SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerDxe.inf
156 SecurityPkg/Application/RngTest/RngTest.inf
161 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
162 SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
163 SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
164 SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
165 SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
166 SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
168 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
169 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
174 SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
175 SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
176 SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf
178 # TrEE - to be deprecated
180 SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.inf
182 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
183 SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
185 SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
186 SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
188 # TrEE - to be deprecated
190 SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
191 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
192 SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
193 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
194 SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf
196 SecurityPkg/Library/HashLibTpm2/HashLibTpm2.inf
201 SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCoreLib.inf
202 SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf
203 SecurityPkg/Library/OpalPasswordSupportLib/OpalPasswordSupportLib.inf
208 SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.inf
209 SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.inf
211 SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
213 [Components.IA32, Components.X64, Components.IPF]
214 # SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProviderDxe.inf
215 # SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProviderDxe.inf
216 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
221 SecurityPkg/Tcg/TcgPei/TcgPei.inf
222 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
223 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
225 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
231 SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
232 SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
234 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {
236 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
237 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
239 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
241 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf
242 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
243 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
244 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
247 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
249 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
250 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
251 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
252 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
253 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
255 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf {
257 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
261 # TrEE - to be deprecated
263 SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf {
265 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
266 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
268 SecurityPkg/Tcg/TrEEPei/TrEEPei.inf {
270 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf
271 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
272 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
273 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
276 SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf {
278 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
279 NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
280 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
281 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
282 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
284 SecurityPkg/Tcg/TrEEConfig/TrEEConfigDxe.inf {
286 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
292 SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
297 SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.inf
299 [Components.IA32, Components.X64]
301 SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLockSmm.inf
302 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
303 SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
304 SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf
306 # TrEE - to be deprecated
308 SecurityPkg/Tcg/TrEESmm/TrEESmm.inf
310 # Random Number Generator
312 SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
315 # Opal Password solution
317 SecurityPkg/Tcg/Opal/OpalPasswordDxe/OpalPasswordDxe.inf
318 SecurityPkg/Tcg/Opal/OpalPasswordSmm/OpalPasswordSmm.inf
321 SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/EsalVariableDxeSal.inf
324 MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
325 INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256