#include <nitro/crypto.h>
s32 CRYPTO_RSA_DecryptInit(CRYPTORSAContext *context, CRYPTORSADecryptInitParam *param);
context |
Specifies the address of the context structure for internal use. |
param |
Specifies the address of the structure for specifying the required settings for RSA encryption. |
Returns one of the following process results.
0 |
Initialization succeeded |
-1 |
Initialization failed |
Performs the initialization for decryption using the RSA algorithm, and sets the private key used for decryption.
The settings that are required for this initialization must be specified in the members of the param argument. For details, refer to CRYPTORSADecryptInitParam.
For detailed information on RSA decryption, see RSA Encryption Overview.
CRYPTO_RSA_Decrypt, CRYPTO_RSA_DecryptTerminate
2008/03/27 Initial version.
CONFIDENTIAL