]> git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/CryptoPkg.dsc
CryptoPkg/BaseCryptLib: Retire Aes Ecb mode algorithm
[mirror_edk2.git] / CryptoPkg / CryptoPkg.dsc
1 ## @file
2 # Cryptographic Library Package for UEFI Security Implementation.
3 # PEIM, DXE Driver, and SMM Driver with all crypto services enabled.
4 #
5 # Copyright (c) 2009 - 2020, Intel Corporation. All rights reserved.<BR>
6 # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
8 #
9 ##
10
11 ################################################################################
12 #
13 # Defines Section - statements that will be processed to create a Makefile.
14 #
15 ################################################################################
16 [Defines]
17 PLATFORM_NAME = CryptoPkg
18 PLATFORM_GUID = E1063286-6C8C-4c25-AEF0-67A9A5B6E6B6
19 PLATFORM_VERSION = 0.98
20 DSC_SPECIFICATION = 0x00010005
21 OUTPUT_DIRECTORY = Build/CryptoPkg
22 SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64|RISCV64
23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
24 SKUID_IDENTIFIER = DEFAULT
25
26 #
27 # Flavor of PEI, DXE, SMM modules to build.
28 # Must be one of ALL, NONE, MIN_PEI, MIN_DXE_MIN_SMM.
29 # Default is ALL that is used for package build verification.
30 # PACKAGE - Package verification build of all components. Null
31 # versions of libraries are used to minimize build times.
32 # ALL - Build PEIM, DXE, and SMM drivers. Protocols and PPIs
33 # publish all services.
34 # NONE - Build PEIM, DXE, and SMM drivers. Protocols and PPIs
35 # publish no services. Used to verify compiler/linker
36 # optimizations are working correctly.
37 # MIN_PEI - Build PEIM with PPI that publishes minimum required
38 # services.
39 # MIN_DXE_MIN_SMM - Build DXE and SMM drivers with Protocols that publish
40 # minimum required services.
41 #
42 DEFINE CRYPTO_SERVICES = PACKAGE
43 !if $(CRYPTO_SERVICES) IN "PACKAGE ALL NONE MIN_PEI MIN_DXE_MIN_SMM"
44 !else
45 !error CRYPTO_SERVICES must be set to one of PACKAGE ALL NONE MIN_PEI MIN_DXE_MIN_SMM.
46 !endif
47
48 ################################################################################
49 #
50 # Library Class section - list of all Library Classes needed by this Platform.
51 #
52 ################################################################################
53 [LibraryClasses]
54 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
55 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
56 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
57 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
58 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
59 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
60 BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
61 TlsLib|CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
62 HashApiLib|CryptoPkg/Library/BaseHashApiLib/BaseHashApiLib.inf
63
64 [LibraryClasses.ARM, LibraryClasses.AARCH64]
65 #
66 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
67 # This library provides the instrinsic functions generate by a given compiler.
68 # [LibraryClasses.ARM, LibraryClasses.AARCH64] and NULL mean link this library
69 # into all ARM and AARCH64 images.
70 #
71 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
72
73 # Add support for stack protector
74 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
75
76 [LibraryClasses.common.PEIM]
77 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
78 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
79 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
80 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
81 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
82
83 [LibraryClasses.common.DXE_SMM_DRIVER]
84 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
85 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
86
87 !if $(CRYPTO_SERVICES) IN "ALL NONE MIN_PEI MIN_DXE_MIN_SMM"
88 [LibraryClasses]
89 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
90 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
91 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
92 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
93 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
94 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
95 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
96 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
97 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf #???
98 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf #???
99 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
100 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
101 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
102
103 [LibraryClasses.ARM]
104 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
105
106 [LibraryClasses.common.PEIM]
107 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
108 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
109 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
110 TlsLib|CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
111
112 [LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]
113 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
114
115 [LibraryClasses.ARM.PEIM, LibraryClasses.AARCH64.PEIM]
116 PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
117
118 [LibraryClasses.common.DXE_DRIVER]
119 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
120 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
121 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
122
123 [LibraryClasses.common.DXE_SMM_DRIVER]
124 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
125 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
126 TlsLib|CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
127 !endif
128
129 ################################################################################
130 #
131 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
132 #
133 ################################################################################
134 [PcdsFixedAtBuild]
135 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
136 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
137 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06
138
139 !if $(CRYPTO_SERVICES) IN "PACKAGE ALL"
140 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.HmacMd5.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
141 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.HmacSha1.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
142 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.HmacSha256.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
143 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Md5.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
144 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
145 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Dh.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
146 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Random.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
147 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
148 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha1.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
149 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha256.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
150 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha384.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
151 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha512.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
152 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.X509.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
153 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tdes.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
154 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.GetContextSize | TRUE
155 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.Init | TRUE
156 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcEncrypt | TRUE
157 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcDecrypt | TRUE
158 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Arc4.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
159 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sm3.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
160 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Hkdf.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
161 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tls.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
162 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsSet.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
163 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsGet.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
164 !endif
165
166 !if $(CRYPTO_SERVICES) == MIN_PEI
167 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.HmacSha1.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
168 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.HmacSha256.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
169 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha1.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
170 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha256.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
171 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha384.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
172 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha512.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
173 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sm3.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
174 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.Pkcs1Verify | TRUE
175 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.New | TRUE
176 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.Free | TRUE
177 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.SetKey | TRUE
178 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Services.Pkcs5HashPassword | TRUE
179 !endif
180
181 !if $(CRYPTO_SERVICES) == MIN_DXE_MIN_SMM
182 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.HmacSha1.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
183 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.HmacSha256.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
184 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Services.Pkcs1v2Encrypt | TRUE
185 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Services.Pkcs5HashPassword | TRUE
186 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Services.Pkcs7Verify | TRUE
187 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Services.VerifyEKUsInPkcs7Signature | TRUE
188 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Services.Pkcs7GetSigners | TRUE
189 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Services.Pkcs7FreeSigners | TRUE
190 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Services.AuthenticodeVerify | TRUE
191 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Random.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
192 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.Pkcs1Verify | TRUE
193 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.New | TRUE
194 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.Free | TRUE
195 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.SetKey | TRUE
196 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.GetPublicKeyFromX509 | TRUE
197 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha1.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
198 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha256.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
199 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha256.Services.HashAll | FALSE
200 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.X509.Services.GetSubjectName | TRUE
201 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.X509.Services.GetCommonName | TRUE
202 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.X509.Services.GetOrganizationName | TRUE
203 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.X509.Services.GetTBSCert | TRUE
204 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tls.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
205 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsSet.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
206 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsGet.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
207 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.Init | TRUE
208 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcEncrypt | TRUE
209 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcDecrypt | TRUE
210 !endif
211
212 ###################################################################################################
213 #
214 # Components Section - list of the modules and components that will be processed by compilation
215 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
216 #
217 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
218 # into firmware volume images. This section is just a list of modules to compile from
219 # source into UEFI-compliant binaries.
220 # It is the FDF file that contains information on combining binary files into firmware
221 # volume images, whose concept is beyond UEFI and is described in PI specification.
222 # Binary modules do not need to be listed in this section, as they should be
223 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
224 # Logo (Logo.bmp), and etc.
225 # There may also be modules listed in this section that are not required in the FDF file,
226 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
227 # generated for it, but the binary will not be put into any firmware volume.
228 #
229 ###################################################################################################
230 !if $(CRYPTO_SERVICES) == PACKAGE
231 [Components]
232 CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
233 CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
234 CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
235 CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
236 CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
237 CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
238 CryptoPkg/Library/TlsLib/TlsLib.inf
239 CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
240 CryptoPkg/Library/OpensslLib/OpensslLib.inf
241 CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
242 CryptoPkg/Library/BaseHashApiLib/BaseHashApiLib.inf
243
244 CryptoPkg/Library/BaseCryptLibOnProtocolPpi/PeiCryptLib.inf
245 CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
246 CryptoPkg/Library/BaseCryptLibOnProtocolPpi/SmmCryptLib.inf
247 !endif
248
249 !if $(CRYPTO_SERVICES) IN "PACKAGE ALL NONE MIN_PEI"
250 [Components.IA32, Components.X64, Components.ARM, Components.AARCH64]
251 CryptoPkg/Driver/CryptoPei.inf {
252 <Defines>
253 !if $(CRYPTO_SERVICES) == ALL
254 FILE_GUID = 8DF53C2E-3380-495F-A8B7-370CFE28E1C6
255 !elseif $(CRYPTO_SERVICES) == NONE
256 FILE_GUID = E5A97EE3-71CC-407F-9DA9-6BE0C8A6C7DF
257 !elseif $(CRYPTO_SERVICES) == MIN_PEI
258 FILE_GUID = 0F5827A9-35FD-4F41-8D38-9BAFCE594D31
259 !endif
260 }
261 !endif
262
263 !if $(CRYPTO_SERVICES) IN "PACKAGE ALL NONE MIN_DXE_MIN_SMM"
264 [Components.IA32, Components.X64, Components.AARCH64]
265 CryptoPkg/Driver/CryptoDxe.inf {
266 <Defines>
267 !if $(CRYPTO_SERVICES) == ALL
268 FILE_GUID = D9444B06-060D-42C5-9344-F04707BE0169
269 !elseif $(CRYPTO_SERVICES) == NONE
270 FILE_GUID = C7A340F4-A6CC-4F95-A2DA-42BEA4C3944A
271 !elseif $(CRYPTO_SERVICES) == MIN_DXE_MIN_SMM
272 FILE_GUID = DDF5BE9E-159A-4B77-B6D7-82B84B5763A2
273 !endif
274 }
275
276 [Components.IA32, Components.X64]
277 CryptoPkg/Driver/CryptoSmm.inf {
278 <Defines>
279 !if $(CRYPTO_SERVICES) == ALL
280 FILE_GUID = A3542CE8-77F7-49DC-A834-45D37D2EC1FA
281 !elseif $(CRYPTO_SERVICES) == NONE
282 FILE_GUID = 6DCB3127-01E7-4131-A487-DC77A965A541
283 !elseif $(CRYPTO_SERVICES) == MIN_DXE_MIN_SMM
284 FILE_GUID = 85F7EA15-3A2B-474A-8875-180542CD6BF3
285 !endif
286 }
287 !endif
288
289 [BuildOptions]
290 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES