VirtualBox

Ignore:
Timestamp:
Aug 12, 2020 4:09:12 PM (4 years ago)
Author:
vboxsync
Message:

Devices/EFI: Merge edk-stable202005 and make it build, bugref:4643

Location:
trunk/src/VBox/Devices/EFI/FirmwareNew
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/FirmwareNew

  • trunk/src/VBox/Devices/EFI/FirmwareNew/CryptoPkg/CryptoPkg.dsc

    r80721 r85718  
    11## @file
    22#  Cryptographic Library Package for UEFI Security Implementation.
    3 #
    4 #  Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
     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>
    57#  SPDX-License-Identifier: BSD-2-Clause-Patent
    68#
     
    1820  DSC_SPECIFICATION              = 0x00010005
    1921  OUTPUT_DIRECTORY               = Build/CryptoPkg
    20   SUPPORTED_ARCHITECTURES        = IA32|X64|ARM|AARCH64
     22  SUPPORTED_ARCHITECTURES        = IA32|X64|ARM|AARCH64|RISCV64
    2123  BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT
    2224  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
    2347
    2448################################################################################
     
    3054  BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
    3155  BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
    32   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
    3356  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
    3457  DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
    35   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
    36   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
    37   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
    38   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
    3958  UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
    40   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
    41   UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
    4259  UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
    43   UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
    44 
    45   IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
    46   OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
     60  BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
     61  TlsLib|CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
     62  HashApiLib|CryptoPkg/Library/BaseHashApiLib/BaseHashApiLib.inf
    4763
    4864[LibraryClasses.ARM, LibraryClasses.AARCH64]
     
    5874  NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
    5975
     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
    60103[LibraryClasses.ARM]
    61104  ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
    62105
    63106[LibraryClasses.common.PEIM]
     107  PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
     108  ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
    64109  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
    65117
    66118[LibraryClasses.common.DXE_DRIVER]
     119  ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
    67120  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
    68 
    69 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
    70   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
     121  TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
    71122
    72123[LibraryClasses.common.DXE_SMM_DRIVER]
     124  ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
    73125  BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
    74 
    75 [LibraryClasses.common.UEFI_DRIVER]
    76   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
    77 
    78 [LibraryClasses.common.UEFI_APPLICATION]
    79   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
     126  TlsLib|CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
     127!endif
    80128
    81129################################################################################
     
    84132#
    85133################################################################################
    86 [PcdsFeatureFlag]
    87   gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
    88   gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
    89 
    90134[PcdsFixedAtBuild]
    91135  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
    92136  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
    93137  gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06
     138
     139!if $(CRYPTO_SERVICES) IN "PACKAGE ALL"
     140  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.HmacSha256.Family                        | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     141  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Md5.Family                               | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     142  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Family                              | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     143  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Dh.Family                                | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     144  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Random.Family                            | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     145  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Family                               | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     146  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha1.Family                              | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     147  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha256.Family                            | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     148  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha384.Family                            | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     149  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha512.Family                            | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     150  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.X509.Family                              | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     151  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tdes.Family                              | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     152  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.GetContextSize              | TRUE
     153  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.Init                        | TRUE
     154  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcEncrypt                  | TRUE
     155  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcDecrypt                  | TRUE
     156  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Arc4.Family                              | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     157  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sm3.Family                               | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     158  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Hkdf.Family                              | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     159  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tls.Family                               | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     160  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsSet.Family                            | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     161  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsGet.Family                            | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     162!endif
     163
     164!if $(CRYPTO_SERVICES) == MIN_PEI
     165  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.HmacSha256.Family               | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     166  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha1.Family                     | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     167  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha256.Family                   | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     168  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha384.Family                   | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     169  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha512.Family                   | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     170  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sm3.Family                      | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     171  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.Pkcs1Verify        | TRUE
     172  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.New                | TRUE
     173  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.Free               | TRUE
     174  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.SetKey             | TRUE
     175  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Services.Pkcs5HashPassword | TRUE
     176!endif
     177
     178!if $(CRYPTO_SERVICES) == MIN_DXE_MIN_SMM
     179  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.HmacSha256.Family                        | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     180  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Services.Pkcs1v2Encrypt             | TRUE
     181  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Services.Pkcs5HashPassword          | TRUE
     182  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Services.Pkcs7Verify                | TRUE
     183  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Services.VerifyEKUsInPkcs7Signature | TRUE
     184  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Services.Pkcs7GetSigners            | TRUE
     185  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Services.Pkcs7FreeSigners           | TRUE
     186  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Services.AuthenticodeVerify         | TRUE
     187  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Random.Family                            | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     188  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.Pkcs1Verify                 | TRUE
     189  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.New                         | TRUE
     190  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.Free                        | TRUE
     191  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.SetKey                      | TRUE
     192  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Rsa.Services.GetPublicKeyFromX509        | TRUE
     193  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha1.Family                              | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     194  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha256.Family                            | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     195  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha256.Services.HashAll                  | FALSE
     196  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.X509.Services.GetSubjectName             | TRUE
     197  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.X509.Services.GetCommonName              | TRUE
     198  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.X509.Services.GetOrganizationName        | TRUE
     199  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.X509.Services.GetTBSCert                 | TRUE
     200  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tls.Family                               | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     201  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsSet.Family                            | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     202  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsGet.Family                            | PCD_CRYPTO_SERVICE_ENABLE_FAMILY
     203  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.Init                        | TRUE
     204  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcEncrypt                  | TRUE
     205  gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.CbcDecrypt                  | TRUE
     206!endif
    94207
    95208###################################################################################################
     
    111224#
    112225###################################################################################################
     226!if $(CRYPTO_SERVICES) == PACKAGE
    113227[Components]
    114228  CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
    115229  CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
     230  CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
    116231  CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
     232  CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
     233  CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
    117234  CryptoPkg/Library/TlsLib/TlsLib.inf
     235  CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
    118236  CryptoPkg/Library/OpensslLib/OpensslLib.inf
    119237  CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
     238  CryptoPkg/Library/BaseHashApiLib/BaseHashApiLib.inf
     239
     240  CryptoPkg/Library/BaseCryptLibOnProtocolPpi/PeiCryptLib.inf
     241  CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
     242  CryptoPkg/Library/BaseCryptLibOnProtocolPpi/SmmCryptLib.inf
     243!endif
     244
     245!if $(CRYPTO_SERVICES) IN "PACKAGE ALL NONE MIN_PEI"
     246[Components.IA32, Components.X64, Components.ARM, Components.AARCH64]
     247  CryptoPkg/Driver/CryptoPei.inf {
     248    <Defines>
     249      !if $(CRYPTO_SERVICES) == ALL
     250        FILE_GUID = 8DF53C2E-3380-495F-A8B7-370CFE28E1C6
     251      !elseif $(CRYPTO_SERVICES) == NONE
     252        FILE_GUID = E5A97EE3-71CC-407F-9DA9-6BE0C8A6C7DF
     253      !elseif $(CRYPTO_SERVICES) == MIN_PEI
     254        FILE_GUID = 0F5827A9-35FD-4F41-8D38-9BAFCE594D31
     255      !endif
     256  }
     257!endif
     258
     259!if $(CRYPTO_SERVICES) IN "PACKAGE ALL NONE MIN_DXE_MIN_SMM"
     260[Components.IA32, Components.X64, Components.AARCH64]
     261  CryptoPkg/Driver/CryptoDxe.inf {
     262    <Defines>
     263      !if $(CRYPTO_SERVICES) == ALL
     264        FILE_GUID = D9444B06-060D-42C5-9344-F04707BE0169
     265      !elseif $(CRYPTO_SERVICES) == NONE
     266        FILE_GUID = C7A340F4-A6CC-4F95-A2DA-42BEA4C3944A
     267      !elseif $(CRYPTO_SERVICES) == MIN_DXE_MIN_SMM
     268        FILE_GUID = DDF5BE9E-159A-4B77-B6D7-82B84B5763A2
     269      !endif
     270  }
    120271
    121272[Components.IA32, Components.X64]
    122   CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
     273  CryptoPkg/Driver/CryptoSmm.inf {
     274    <Defines>
     275      !if $(CRYPTO_SERVICES) == ALL
     276        FILE_GUID = A3542CE8-77F7-49DC-A834-45D37D2EC1FA
     277      !elseif $(CRYPTO_SERVICES) == NONE
     278        FILE_GUID = 6DCB3127-01E7-4131-A487-DC77A965A541
     279      !elseif $(CRYPTO_SERVICES) == MIN_DXE_MIN_SMM
     280        FILE_GUID = 85F7EA15-3A2B-474A-8875-180542CD6BF3
     281      !endif
     282  }
     283!endif
    123284
    124285[BuildOptions]
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette