RSADecrypt

Performs the RSA decryption operation.

Syntax

IppStatus ippsRSADecrypt(const IppsBigNumState* pX, IppsBigNumState* pY, IppsRSAState* pCtx);

Parameters

pX

Ppointer to the IppsBigNumState context of the ciphertext.

pY

Pointer to the IppsBigNumState context of the plaintext.

pCtx

Pointer to the IppsRSAState context.

Description

This function is declared in the ippcp.h file. The function performs the RSA encryption operation.

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 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 or length of the Big Number specified by pY is too small.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.