X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=CryptoPkg%2FLibrary%2FBaseCryptLib%2FPk%2FCryptRsa.c;h=0b561c35807eb732882ba8098b04aea504ebb62f;hp=2e84a2f43f540a5c84570d2dc7499dabb3f49093;hb=b7d320f8117ed2fffe001b1a0b7bfcd4f40fafc4;hpb=2f3f1a64ed373954e29ebd06ece5068259800e11 diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsa.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsa.c index 2e84a2f43f..0b561c3580 100644 --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsa.c +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsa.c @@ -1,7 +1,7 @@ /** @file RSA Asymmetric Cipher Wrapper Implementation over OpenSSL. -Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
+Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -545,7 +545,7 @@ DigestInfoEncoding ( If RsaContext is NULL, then ASSERT(). If MessageHash is NULL, then ASSERT(). - If HashSize is not equal to the size of MD5, SHA-1, SHA-256, SHA-224, SHA-512 or SHA-384 digest, then ASSERT(). + If HashSize is not equal to the size of MD5, SHA-1 or SHA-256 digest, then ASSERT(). If SigSize is large enough but Signature is NULL, then ASSERT(). @param[in] RsaContext Pointer to RSA context for signature generation. @@ -615,7 +615,7 @@ RsaPkcs1Sign ( If RsaContext is NULL, then ASSERT(). If MessageHash is NULL, then ASSERT(). If Signature is NULL, then ASSERT(). - If HashSize is not equal to the size of MD5, SHA-1, SHA-256, SHA-224, SHA-512 or SHA-384 digest, then ASSERT(). + If HashSize is not equal to the size of MD5, SHA-1 or SHA-256 digest, then ASSERT(). @param[in] RsaContext Pointer to RSA context for signature verification. @param[in] MessageHash Pointer to octet message hash to be checked.