Visible to Intel only — GUID: GUID-7C5A0FDE-F335-4100-8CF3-77F85444CBE6
Visible to Intel only — GUID: GUID-7C5A0FDE-F335-4100-8CF3-77F85444CBE6
RSADecrypt_PKCSv15
Performs RSA-OAEP decryption using the RSA-OAEP scheme as defined in the v1.5 version of the PKCS#1 standard (deprecated).
Syntax
IppStatus ippsRSADecrypt_PKCSv15 (const Ipp8u* pSrc, Ipp8u* pDst, int* pDstLen, const IppsRSAPrivateKeyState* pKey, Ipp8u* pBuffer);
Include Files
ippcp.h
Parameters
pSrc |
Pointer to the input octet message to be decrypted. |
pDst |
Pointer to the output message. |
pDstLen |
Pointer to the length (in bytes) of the decrypted message. |
pKey |
Pointer to the properly initialized IppsRSAPrivateKeyState context. |
pBuffer |
Pointer to a temporary buffer of size not less than returned by the RSA_GetBufferSizePrivateKey function. |
Description
The function performs decryption using the RSA-OAEP scheme according to the v1.5 version of the PKCS#1 standard, defined in PKCS 1.2.1. The *pDstLen parameter returns the length of the decrypted message.
Return Values
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. |
ippStsIncompleteContextErr |
Indicates an error condition if the private key is not set up. |
ippStsSizeErr |
Indicates an error condition if any input/output length parameters are inconsistent with one another. |
Related Information