]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # Security Module Package for All Architectures.\r | |
3 | #\r | |
4 | # Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r | |
5 | # This program and the accompanying materials\r | |
6 | # are licensed and made available under the terms and conditions of the BSD License\r | |
7 | # which accompanies this distribution. The full text of the license may be found at\r | |
8 | # http://opensource.org/licenses/bsd-license.php\r | |
9 | #\r | |
10 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | #\r | |
13 | ##\r | |
14 | \r | |
15 | [Defines]\r | |
16 | PLATFORM_NAME = SecurityPkg\r | |
17 | PLATFORM_GUID = B2C4614D-AE76-47ba-B876-5988BFED064F\r | |
18 | PLATFORM_VERSION = 0.95\r | |
19 | DSC_SPECIFICATION = 0x00010005\r | |
20 | OUTPUT_DIRECTORY = Build/SecurityPkg\r | |
21 | SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC\r | |
22 | BUILD_TARGETS = DEBUG|RELEASE\r | |
23 | SKUID_IDENTIFIER = DEFAULT\r | |
24 | \r | |
25 | [LibraryClasses]\r | |
26 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
27 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf \r | |
28 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
29 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r | |
30 | TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r | |
31 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
32 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
33 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
34 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
35 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
36 | \r | |
37 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
38 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
39 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
40 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
41 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
42 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r | |
43 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
44 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r | |
45 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
46 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
47 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
48 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
49 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
50 | IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r | |
51 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r | |
52 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r | |
53 | TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf\r | |
54 | PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r | |
55 | TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf\r | |
56 | TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r | |
57 | Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf\r | |
58 | Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r | |
59 | TrEEPhysicalPresenceLib|SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.inf\r | |
60 | TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf\r | |
61 | TrEEPpVendorLib|SecurityPkg/Library/TrEEPpVendorLibNull/TrEEPpVendorLibNull.inf\r | |
62 | \r | |
63 | [LibraryClasses.common.PEIM]\r | |
64 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r | |
65 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
66 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r | |
67 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
68 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
69 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r | |
70 | HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r | |
71 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
72 | Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r | |
73 | Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r | |
74 | \r | |
75 | [LibraryClasses.common.DXE_DRIVER]\r | |
76 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
77 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
78 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r | |
79 | HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r | |
80 | Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r | |
81 | Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf\r | |
82 | \r | |
83 | [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]\r | |
84 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
85 | DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r | |
86 | HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r | |
87 | Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r | |
88 | Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf\r | |
89 | \r | |
90 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]\r | |
91 | ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r | |
92 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r | |
93 | HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r | |
94 | Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r | |
95 | Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf\r | |
96 | \r | |
97 | [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]\r | |
98 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r | |
99 | HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r | |
100 | Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r | |
101 | Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf\r | |
102 | \r | |
103 | [LibraryClasses.IPF.DXE_SAL_DRIVER]\r | |
104 | ExtendedSalLib|MdePkg/Library/DxeRuntimeExtendedSalLib/DxeRuntimeExtendedSalLib.inf\r | |
105 | BaseCryptLib|CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf\r | |
106 | HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r | |
107 | Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r | |
108 | Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf\r | |
109 | \r | |
110 | [LibraryClasses.common.DXE_SMM_DRIVER]\r | |
111 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
112 | SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r | |
113 | MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r | |
114 | ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf\r | |
115 | SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r | |
116 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r | |
117 | Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r | |
118 | Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf\r | |
119 | \r | |
120 | [PcdsDynamicDefault.common.DEFAULT]\r | |
121 | gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0xb6, 0xe5, 0x01, 0x8b, 0x19, 0x4f, 0xe8, 0x46, 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc}\r | |
122 | gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy|1\r | |
123 | gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy|1\r | |
124 | gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy|1\r | |
125 | gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1\r | |
126 | gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1\r | |
127 | \r | |
128 | [Components]\r | |
129 | SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r | |
130 | #SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf\r | |
131 | SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf\r | |
132 | #SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManagerDxe.inf\r | |
133 | #SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManagerDxe.inf\r | |
134 | \r | |
135 | #\r | |
136 | # Application\r | |
137 | #\r | |
138 | SecurityPkg/Application/RngTest/RngTest.inf\r | |
139 | \r | |
140 | #\r | |
141 | # TPM\r | |
142 | #\r | |
143 | SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf\r | |
144 | SecurityPkg/Library/TpmCommLib/TpmCommLib.inf\r | |
145 | SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf\r | |
146 | SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf\r | |
147 | SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r | |
148 | SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf\r | |
149 | \r | |
150 | SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf\r | |
151 | SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf\r | |
152 | \r | |
153 | #\r | |
154 | # TPM2\r | |
155 | #\r | |
156 | SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r | |
157 | SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.inf\r | |
158 | \r | |
159 | SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r | |
160 | SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r | |
161 | \r | |
162 | SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r | |
163 | SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf\r | |
164 | SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r | |
165 | SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r | |
166 | SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r | |
167 | SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf\r | |
168 | \r | |
169 | SecurityPkg/Library/HashLibTpm2/HashLibTpm2.inf\r | |
170 | \r | |
171 | #\r | |
172 | # Other\r | |
173 | #\r | |
174 | SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.inf\r | |
175 | SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.inf\r | |
176 | \r | |
177 | SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r | |
178 | \r | |
179 | [Components.IA32, Components.X64, Components.IPF]\r | |
180 | # SecurityPkg/UserIdentification/PwdCredentialProviderDxe/PwdCredentialProviderDxe.inf\r | |
181 | # SecurityPkg/UserIdentification/UsbCredentialProviderDxe/UsbCredentialProviderDxe.inf\r | |
182 | SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r | |
183 | \r | |
184 | #\r | |
185 | # TPM\r | |
186 | #\r | |
187 | SecurityPkg/Tcg/TcgPei/TcgPei.inf\r | |
188 | SecurityPkg/Tcg/TcgDxe/TcgDxe.inf\r | |
189 | SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {\r | |
190 | <LibraryClasses>\r | |
191 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
192 | }\r | |
193 | \r | |
194 | #\r | |
195 | # TPM2\r | |
196 | #\r | |
197 | SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r | |
198 | SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r | |
199 | \r | |
200 | SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf {\r | |
201 | <LibraryClasses>\r | |
202 | Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r | |
203 | Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf\r | |
204 | }\r | |
205 | SecurityPkg/Tcg/TrEEPei/TrEEPei.inf {\r | |
206 | <LibraryClasses>\r | |
207 | Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf\r | |
208 | NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r | |
209 | NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r | |
210 | NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r | |
211 | }\r | |
212 | \r | |
213 | SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf {\r | |
214 | <LibraryClasses>\r | |
215 | Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r | |
216 | NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf\r | |
217 | NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r | |
218 | NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r | |
219 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
220 | }\r | |
221 | SecurityPkg/Tcg/TrEEConfig/TrEEConfigDxe.inf {\r | |
222 | <LibraryClasses>\r | |
223 | Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf\r | |
224 | }\r | |
225 | \r | |
226 | #\r | |
227 | # Hash2\r | |
228 | #\r | |
229 | SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf\r | |
230 | \r | |
231 | #\r | |
232 | # PKCS7 Verification\r | |
233 | #\r | |
234 | SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.inf\r | |
235 | \r | |
236 | [Components.IA32, Components.X64]\r | |
237 | SecurityPkg/Tcg/TcgSmm/TcgSmm.inf\r | |
238 | SecurityPkg/Tcg/TrEESmm/TrEESmm.inf\r | |
239 | #\r | |
240 | # Random Number Generator\r | |
241 | #\r | |
242 | SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf\r | |
243 | \r | |
244 | [Components.IPF]\r | |
245 | SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/EsalVariableDxeSal.inf \r | |
246 | \r | |
247 | [BuildOptions]\r | |
248 | MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r | |
249 | INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256\r | |
250 | \r |