# CRYPTO_RSA_EncryptTerminate

## Syntax

      #include <nitro/crypto.h>

      s32 CRYPTO_RSA_EncryptTerminate(CRYPTORSAContext *context);

## Arguments

`context` | Specifies the address of the `CRYPTORSAContext` structure that was initialized by the `CRYPTO_RSA_EncryptInit` 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_EncryptInit, CRYPTO_RSA_Encrypt`

## Revision History

2008/03/27 Initial version.

CONFIDENTIAL