2011-09-02 09:49:32 +02:00
|
|
|
## @file
|
|
|
|
# Security Module Package for All Architectures.
|
|
|
|
#
|
2014-01-10 02:24:51 +01:00
|
|
|
# Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
|
2011-09-02 09:49:32 +02:00
|
|
|
# This program and the accompanying materials
|
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
#
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
PLATFORM_NAME = SecurityPkg
|
|
|
|
PLATFORM_GUID = B2C4614D-AE76-47ba-B876-5988BFED064F
|
2014-01-10 02:24:51 +01:00
|
|
|
PLATFORM_VERSION = 0.93
|
2011-09-02 09:49:32 +02:00
|
|
|
DSC_SPECIFICATION = 0x00010005
|
|
|
|
OUTPUT_DIRECTORY = Build/SecurityPkg
|
|
|
|
SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC
|
|
|
|
BUILD_TARGETS = DEBUG|RELEASE
|
|
|
|
SKUID_IDENTIFIER = DEFAULT
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
|
|
|
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
|
|
|
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
|
|
|
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
|
|
|
TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
|
|
|
|
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
|
|
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
|
|
|
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
|
|
|
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
2013-09-18 07:31:18 +02:00
|
|
|
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
2011-09-02 09:49:32 +02:00
|
|
|
|
|
|
|
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
|
|
|
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
|
|
|
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
|
|
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
|
|
|
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
|
|
|
DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
|
|
|
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
|
|
|
UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
|
|
|
|
HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
|
|
|
UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
|
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
|
|
|
IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
|
|
|
|
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
|
|
|
|
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
|
|
|
|
TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
|
2011-09-27 10:44:33 +02:00
|
|
|
PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
|
|
|
|
TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
|
2012-11-27 06:16:15 +01:00
|
|
|
TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
|
2013-09-18 07:31:18 +02:00
|
|
|
Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
|
|
|
|
Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
|
|
|
|
TrEEPhysicalPresenceLib|SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.inf
|
2011-09-02 09:49:32 +02:00
|
|
|
|
|
|
|
[LibraryClasses.common.PEIM]
|
|
|
|
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
|
|
|
PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
|
|
|
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
|
|
|
|
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
|
|
|
MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
2012-07-20 05:36:21 +02:00
|
|
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
|
2013-09-18 07:31:18 +02:00
|
|
|
HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
|
|
|
|
Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
|
|
|
|
Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
|
2011-09-02 09:49:32 +02:00
|
|
|
|
|
|
|
[LibraryClasses.common.DXE_DRIVER]
|
|
|
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
|
|
|
ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
2012-07-20 05:36:21 +02:00
|
|
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
2013-09-18 07:31:18 +02:00
|
|
|
HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
|
|
|
|
Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
|
|
|
|
Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
|
2011-09-02 09:49:32 +02:00
|
|
|
|
|
|
|
[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]
|
2011-10-19 14:40:52 +02:00
|
|
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
2011-09-02 09:49:32 +02:00
|
|
|
DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
|
2013-09-18 07:31:18 +02:00
|
|
|
HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
|
|
|
|
Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
|
|
|
|
Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
|
2011-09-02 09:49:32 +02:00
|
|
|
|
2012-07-20 05:36:21 +02:00
|
|
|
[LibraryClasses.common.DXE_RUNTIME_DRIVER]
|
|
|
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
|
2013-09-18 07:31:18 +02:00
|
|
|
HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
|
|
|
|
Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
|
|
|
|
Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
|
2012-07-20 05:36:21 +02:00
|
|
|
|
|
|
|
[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
|
|
|
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
2013-09-18 07:31:18 +02:00
|
|
|
HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
|
|
|
|
Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
|
|
|
|
Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
|
2012-07-20 05:36:21 +02:00
|
|
|
|
2011-09-02 09:49:32 +02:00
|
|
|
[LibraryClasses.IPF.DXE_SAL_DRIVER]
|
|
|
|
ExtendedSalLib|MdePkg/Library/DxeRuntimeExtendedSalLib/DxeRuntimeExtendedSalLib.inf
|
2012-07-20 05:36:21 +02:00
|
|
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf
|
2013-09-18 07:31:18 +02:00
|
|
|
HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
|
|
|
|
Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
|
|
|
|
Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
|
2011-09-02 09:49:32 +02:00
|
|
|
|
|
|
|
[LibraryClasses.common.DXE_SMM_DRIVER]
|
2011-10-19 14:40:52 +02:00
|
|
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
2011-09-02 09:49:32 +02:00
|
|
|
SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
|
|
|
|
MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
|
|
|
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
|
2013-09-18 07:31:18 +02:00
|
|
|
Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
|
|
|
|
Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
|
2011-09-02 09:49:32 +02:00
|
|
|
|
2013-09-18 07:31:18 +02:00
|
|
|
[PcdsDynamicDefault.common.DEFAULT]
|
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0xb6, 0xe5, 0x01, 0x8b, 0x19, 0x4f, 0xe8, 0x46, 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc}
|
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy|1
|
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy|1
|
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy|1
|
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1
|
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1
|
|
|
|
|
2011-09-02 09:49:32 +02:00
|
|
|
[Components]
|
|
|
|
SecurityPkg/VariableAuthenticated/Pei/VariablePei.inf
|
|
|
|
SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
|
|
|
|
SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf
|
2012-09-13 10:34:32 +02:00
|
|
|
SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf
|
2011-09-02 09:49:32 +02:00
|
|
|
SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManagerDxe.inf
|
|
|
|
SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerDxe.inf
|
|
|
|
|
|
|
|
#
|
|
|
|
# Application
|
|
|
|
#
|
|
|
|
SecurityPkg/Application/VariableInfo/VariableInfo.inf
|
2013-11-19 02:49:49 +01:00
|
|
|
SecurityPkg/Application/RngTest/RngTest.inf
|
2011-09-02 09:49:32 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# TPM
|
|
|
|
#
|
|
|
|
SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
|
2013-05-13 04:36:09 +02:00
|
|
|
SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
|
2013-09-18 07:31:18 +02:00
|
|
|
SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
|
|
|
|
SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
|
|
|
|
SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
|
|
|
|
SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
|
2013-05-13 04:36:09 +02:00
|
|
|
|
2011-09-02 09:49:32 +02:00
|
|
|
SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
|
|
|
|
SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
|
2013-09-18 07:31:18 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# TPM2
|
|
|
|
#
|
|
|
|
SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
|
|
|
|
SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.inf
|
|
|
|
|
|
|
|
SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
|
|
|
|
SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
|
|
|
|
|
|
|
|
SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
|
|
|
|
SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
|
|
|
|
SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
|
|
|
|
SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
|
|
|
|
SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
|
|
|
|
SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf
|
|
|
|
|
|
|
|
SecurityPkg/Library/HashLibTpm2/HashLibTpm2.inf
|
|
|
|
|
2013-05-13 04:36:09 +02:00
|
|
|
[Components.IA32, Components.X64, Components.IPF]
|
|
|
|
SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProviderDxe.inf
|
|
|
|
SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProviderDxe.inf
|
|
|
|
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
|
|
|
|
SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
|
|
|
|
|
|
|
|
#
|
|
|
|
# TPM
|
|
|
|
#
|
|
|
|
SecurityPkg/Tcg/TcgPei/TcgPei.inf
|
|
|
|
SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
|
2011-09-02 09:49:32 +02:00
|
|
|
SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
|
|
|
}
|
2013-05-13 04:36:09 +02:00
|
|
|
|
2013-09-18 07:31:18 +02:00
|
|
|
#
|
|
|
|
# TPM2
|
|
|
|
#
|
|
|
|
SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
|
|
|
|
SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
|
|
|
|
|
|
|
|
SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
|
|
|
|
Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
|
|
|
|
}
|
|
|
|
SecurityPkg/Tcg/TrEEPei/TrEEPei.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf
|
|
|
|
NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
|
|
|
|
NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
|
|
|
|
NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
|
|
|
|
}
|
|
|
|
|
|
|
|
SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
|
|
|
|
NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
|
|
|
|
NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
|
|
|
|
NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
|
|
|
|
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
|
|
|
}
|
|
|
|
SecurityPkg/Tcg/TrEEConfig/TrEEConfigDxe.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
|
|
|
|
}
|
|
|
|
|
2011-09-02 09:49:32 +02:00
|
|
|
[Components.IA32, Components.X64]
|
|
|
|
SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmm.inf
|
|
|
|
SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.inf
|
2013-05-13 04:36:09 +02:00
|
|
|
SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
|
2013-09-18 07:31:18 +02:00
|
|
|
SecurityPkg/Tcg/TrEESmm/TrEESmm.inf
|
2013-11-19 02:49:49 +01:00
|
|
|
#
|
|
|
|
# Random Number Generator
|
|
|
|
#
|
|
|
|
SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
|
2011-09-02 09:49:32 +02:00
|
|
|
|
|
|
|
[Components.IPF]
|
|
|
|
SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/EsalVariableDxeSal.inf
|
|
|
|
|
|
|
|
[BuildOptions]
|
|
|
|
MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
|
|
|
|
INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256
|
|
|
|
|