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/Library/BaseCryptLib/Pk/CryptRsaExt.c

    r80721 r85718  
    88  4) RsaPkcs1Sign
    99
    10 Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
     10Copyright (c) 2009 - 2020, Intel Corporation. All rights reserved.<BR>
    1111SPDX-License-Identifier: BSD-2-Clause-Patent
    1212
     
    277277  If RsaContext is NULL, then return FALSE.
    278278  If MessageHash is NULL, then return FALSE.
    279   If HashSize is not equal to the size of MD5, SHA-1 or SHA-256 digest, then return FALSE.
     279  If HashSize is not equal to the size of MD5, SHA-1, SHA-256, SHA-384 or SHA-512 digest, then return FALSE.
    280280  If SigSize is large enough but Signature is NULL, then return FALSE.
    281281
     
    327327  //
    328328  // Determine the message digest algorithm according to digest size.
    329   //   Only MD5, SHA-1 or SHA-256 algorithm is supported.
     329  //   Only MD5, SHA-1, SHA-256, SHA-384 or SHA-512 algorithm is supported.
    330330  //
    331331  switch (HashSize) {
     
    340340  case SHA256_DIGEST_SIZE:
    341341    DigestType = NID_sha256;
     342    break;
     343
     344  case SHA384_DIGEST_SIZE:
     345    DigestType = NID_sha384;
     346    break;
     347
     348  case SHA512_DIGEST_SIZE:
     349    DigestType = NID_sha512;
    342350    break;
    343351
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