Changeset 85718 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c
- Timestamp:
- Aug 12, 2020 4:09:12 PM (4 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776,129194-133213 /vendor/edk2/current 103735-103757,103769-103776,129194-139864
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c
r80721 r85718 8 8 4) RsaPkcs1Sign 9 9 10 Copyright (c) 2009 - 20 18, Intel Corporation. All rights reserved.<BR>10 Copyright (c) 2009 - 2020, Intel Corporation. All rights reserved.<BR> 11 11 SPDX-License-Identifier: BSD-2-Clause-Patent 12 12 … … 277 277 If RsaContext is NULL, then return FALSE. 278 278 If MessageHash is NULL, then return FALSE. 279 If HashSize is not equal to the size of MD5, SHA-1 or SHA-256digest, 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. 280 280 If SigSize is large enough but Signature is NULL, then return FALSE. 281 281 … … 327 327 // 328 328 // Determine the message digest algorithm according to digest size. 329 // Only MD5, SHA-1 or SHA-256algorithm is supported.329 // Only MD5, SHA-1, SHA-256, SHA-384 or SHA-512 algorithm is supported. 330 330 // 331 331 switch (HashSize) { … … 340 340 case SHA256_DIGEST_SIZE: 341 341 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; 342 350 break; 343 351
Note:
See TracChangeset
for help on using the changeset viewer.