CRYPTO_RSA_DecryptTerminate

Syntax


#include <nitro/crypto.h>

s32 CRYPTO_RSA_DecryptTerminate(CRYPTORSAContext *context);
		

Arguments

context Specifies the address of the CRYPTORSAContext structure that was initialized by the CRYPTO_RSA_DecryptInit function.

Return Values

Returns one of the following process results.

0 The termination process succeeded
-1 The termination process failed

Description

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.

See Also

CRYPTO_RSA_DecryptInit, CRYPTO_RSA_Decrypt

Revision History

2008/03/27 Initial version.


CONFIDENTIAL