Verifies a signature using the v1.5 version of the RSA scheme with the SHA-512 message digest.
IppStatus ippsRSASSAVerify_SHA512_PKCSv15 (const Ipp8u* pMsg, Ipp32u msgLen, const Ipp8u* pSign, IppBool* pIsValid, IppsRSAState* pRSA);
pMsg |
Pointer to the input message. |
msgLen |
Length of the message. |
pSign |
Pointer to the signature string to be verified. |
pIsValid |
Pointer to the verification result. |
pRSA |
Pointer to the properly initialized IppsRSAState context. |
This function is declared in the ippcp.h file. The function verifies the signature generated by the RSASSASign_SHA512_PKCSv15 function against the input message.
You can verify the signature of an empty message (with msgLen==0) against that message. The signature of an empty message is a constant string that depends only on the applied hash algorithm.
ippStsNoErr |
Indicates no error. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers is NULL. |
ippStsContextMatchErr |
Indicates an error condition if the RSA context parameter does not match the operation. |
ippStsInvalidCryptoKeyErr |
Indicates an error condition if the RSA context has not been properly set up for the operation. |
ippStsSizeErr |
Indicates an error condition if the length of the RSA modulus is too small (see details in [PKCS 1.2.1]). |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.