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>CRYPTORSAEncryptInitPKParam</TITLE> 16 <LINK rel="stylesheet" href="../../css/nitro.css"> 17 <BASE target="main"> 18</HEAD> 19<BODY> 20<H1>CRYPTORSAEncryptInitPKParam</H1> 21 22<H2>Definition</H2> 23<DL> 24 <DD> 25 <PRE><CODE> 26#include <nitro/crypto.h> 27 28typedef struct CRYPTORSAEncryptInitPKParam 29{ 30 void *privkey; 31 u32 privkey_len; 32} 33CRYPTORSAEncryptInitPKParam; 34 </CODE></PRE> 35 </DD> 36</DL> 37 38<H2>Elements</H2> 39<TABLE border="1"> 40 <TBODY> 41 <TR> 42 <TD width="25%"><EM><STRONG><CODE>privkey</CODE></STRONG></EM></TD> 43 <TD width="75%">Specifies the address of the string where the RSA private key is stored.</TD> 44 </TR> 45 <TR> 46 <TD width="25%"><EM><STRONG><CODE>privkey_len</CODE></STRONG></EM></TD> 47 <TD width="75%">Specifies the length of the string for the RSA private key.</TD> 48 </TR> 49 </TBODY> 50</TABLE> 51 52<H2>Description</H2> 53<P> 54 This structure specifies the information required to initialize RSA encryption. It is used in <A href="CRYPTO_RSA_EncryptInit_PrivateKey.html">CRYPTO_RSA_EncryptInit_PrivateKey</A>.<BR>Before the functions are called, applications must first set the values for each member. 55</P> 56<P> 57 In the address specified by the <EM><STRONG><CODE>privkey</CODE></STRONG></EM> member, store the entire image of the RSA private key in DER format. 58</P> 59 60<H2>Revision History</H2> 61<P> 62 2008/10/02 Corrected Description.<br /> 2008/04/17 Initial version. 63</P> 64 65<hr><p>CONFIDENTIAL</p></body> 66</HTML> 67