#include <nitro/crypto.h>
s32 CRYPTO_RSA_EncryptTerminate(CRYPTORSAContext *context);
context |
Specifies the address of the CRYPTORSAContext structure that was initialized by the CRYPTO_RSA_EncryptInit function. |
Returns one of the following process results.
0 |
The termination process succeeded |
-1 |
The termination process failed |
Performs processing to end encryption using the RSA algorithm. Be sure to run this when you have finished, as failing to do so can cause a memory leak.
CRYPTO_RSA_EncryptInit, CRYPTO_RSA_Encrypt
2008/03/27 Initial version.
CONFIDENTIAL