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