# CRYPTO_RSA_SignInit

## Syntax

      #include <nitro/crypto.h>

      s32 CRYPTO_RSA_SignInit(CRYPTORSASignContext *context, CRYPTORSASignInitParam *param);

## Arguments

`context` | Specifies the address of the context structure for internal use.
`param` | Specifies the address of the structure for specifying the required settings for digital signing.

## Return Values

Returns one of the following process results.

`0` | Initialization succeeded
`-1` | Initialization failed

## Description

Performs the initialization for digital signature creation and sets the private key.

The settings that are required for this initialization must be specified in the members of the `param` argument. For details, refer to `CRYPTORSASignInitParam`.

For detailed information on digital signatures, see Digital Signature Overview.

## See Also

`CRYPTO_RSA_Sign, CRYPTO_RSA_SignTerminate`

## Revision History

2008/04/17 Initial version.

CONFIDENTIAL