# CRYPTORSAEncryptInitPKParam

## Definition

      #include <nitro/crypto.h>

      typedef struct CRYPTORSAEncryptInitPKParam
      {
          void    *privkey;
          u32     privkey_len;
      }
      CRYPTORSAEncryptInitPKParam;

## Elements

`privkey` | Specifies the address of the string where the RSA private key is stored.
`privkey_len` | Specifies the length of the string for the RSA private key.

## Description

This structure specifies the information required to initialize RSA encryption. It is used in CRYPTO_RSA_EncryptInit_PrivateKey.
Before the functions are called, applications must first set the values for each member.

In the address specified by the `privkey` member, store the entire image of the RSA private key in DER format.

## Revision History

2008/10/02 Corrected Description.
2008/04/17 Initial version.

CONFIDENTIAL