Add ImageAuthenticationStatusLib to SAP to check Authentication Status returned from
[mirror_edk2.git] / SecurityPkg / SecurityPkg.dsc
1 ## @file
2 # Security Module Package for All Architectures.
3 #
4 # Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
5 # 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
18 PLATFORM_VERSION = 0.92
19 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
35
36 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
37 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
38 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
39 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
40 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
41 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
42 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
43 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
44 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
45 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
46 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
47 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
48 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
49 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
50 TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
51 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
52 TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
53
54 [LibraryClasses.common.PEIM]
55 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
56 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
57 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
58 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
59 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
60 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
61
62 [LibraryClasses.common.DXE_DRIVER]
63 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
64 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
65 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
66
67 [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]
68 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
69 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
70
71 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
72 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
73
74 [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
75 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
76
77 [LibraryClasses.IPF.DXE_SAL_DRIVER]
78 ExtendedSalLib|MdePkg/Library/DxeRuntimeExtendedSalLib/DxeRuntimeExtendedSalLib.inf
79 BaseCryptLib|CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf
80
81 [LibraryClasses.common.DXE_SMM_DRIVER]
82 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
83 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
84 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
85 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
86
87 [Components]
88 SecurityPkg/VariableAuthenticated/Pei/VariablePei.inf
89 SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
90 SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf
91 SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf
92 SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManagerDxe.inf
93 SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerDxe.inf
94 SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProviderDxe.inf
95 SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProviderDxe.inf
96
97 #
98 # Application
99 #
100 SecurityPkg/Application/VariableInfo/VariableInfo.inf
101
102 #
103 # TPM
104 #
105 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
106 SecurityPkg/Tcg/TcgPei/TcgPei.inf
107 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
108 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
109 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
110 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
111 <LibraryClasses>
112 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
113 }
114 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
115 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
116
117 [Components.IA32, Components.X64]
118 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
119 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmm.inf
120 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.inf
121
122 [Components.IPF]
123 SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/EsalVariableDxeSal.inf
124
125 [Components.EBC]
126 # Build only
127 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
128
129 [BuildOptions]
130 MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
131 INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256
132