Performs the RSA encryption operation.
IppStatus ippsRSAEncrypt(const IppsBigNumState* pX, IppsBigNumState* pY, IppsRSAState* pCtx);
pX |
Ppointer to the IppsBigNumState context of the plaintext. |
pY |
Pointer to the IppsBigNumState context of the ciphertext. |
pCtx |
Pointer to the IppsRSAState context. |
This function is declared in the ippcp.h file. The function performs the RSA encryption operation.
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 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. |
ippStsOutOfRangeErr |
Indicates an error condition if: length of the Big Number specified by pX is too big length of the Big Number specified by pY is too small. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.