1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<!--==========================================================================
3  Copyright 2008 Nintendo.  All rights reserved.
4
5  These coded instructions, statements, and computer programs contain
6  proprietary information of Nintendo of America Inc. and/or Nintendo
7  Company Ltd., and are protected by Federal copyright law.  They may
8  not be disclosed to third parties or copied or duplicated in any form,
9  in whole or in part, without the prior written consent of Nintendo.
10 ==========================================================================-->
11<HTML>
12<HEAD>
13	<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
14	<META http-equiv="Content-Style-Type" content="text/css">
15	<TITLE>CRYPTO_RSA_EncryptTerminate</TITLE>
16	<LINK rel="stylesheet" href="../../css/nitro.css">
17	<BASE target="main">
18</HEAD>
19<BODY>
20<H1>CRYPTO_RSA_EncryptTerminate <IMG src="../../image/BPT.gif" width="23" height="12" border="0" align="middle"><IMG src="../../image/TWL.gif" width="23" height="12" border="0" align="middle"></H1>
21
22<H2>Syntax</H2>
23<DL>
24	<DD>
25		<PRE><CODE>
26#include &lt;nitro/crypto.h&gt;
27
28s32 CRYPTO_RSA_EncryptTerminate(<a href="CRYPTORSAContext.html">CRYPTORSAContext</a> *context);
29		</CODE></PRE>
30	</DD>
31</DL>
32
33<H2>Arguments</H2>
34<TABLE border="1">
35	<TBODY>
36		<TR>
37			<TD width="25%"><EM><STRONG><CODE>context</CODE></STRONG></EM></TD>
38			<TD width="75%">Specifies the address of the <code>CRYPTORSAContext</code> structure that was initialized by the <code><a href="CRYPTO_RSA_EncryptInit.html">CRYPTO_RSA_EncryptInit</a></code> function.</TD>
39		</TR>
40	</TBODY>
41</TABLE>
42
43<H2>Return Values</H2>
44<P>
45	Returns one of the following process results.
46</P>
47<TABLE border="1">
48	<TBODY>
49		<TR>
50			<TD width="25%"><EM><STRONG><CODE>0</CODE></STRONG></EM></TD>
51			<TD width="75%">The termination process succeeded</TD>
52		</TR>
53		<TR>
54			<TD><EM><STRONG><CODE>-1</CODE></STRONG></EM></TD>
55			<TD>The termination process failed</TD>
56		</TR>
57	</TBODY>
58</TABLE>
59
60<H2>Description</H2>
61<P>
62	Performs processing to end encryption using the RSA algorithm.
63	Be sure to run this when you have finished, as failing to do so can cause a memory leak.
64</P>
65
66<H2>See Also</H2>
67<P>
68	<CODE>
69		<A href="CRYPTO_RSA_EncryptInit.html">CRYPTO_RSA_EncryptInit</A>, <A href="CRYPTO_RSA_Encrypt.html">CRYPTO_RSA_Encrypt</A>
70	</CODE>
71</P>
72
73<H2>Revision History</H2>
74<P>
75	2008/03/27 Initial version.
76</P>
77
78<hr><p>CONFIDENTIAL</p></body>
79</HTML>
80