#include <nitro/crypto.h>
s32 CRYPTO_RSA_SignInit(CRYPTORSASignContext *context, CRYPTORSASignInitParam *param);
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. |
Returns one of the following process results.
0 |
Initialization succeeded |
-1 |
Initialization failed |
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.
CRYPTO_RSA_Sign, CRYPTO_RSA_SignTerminate
2008/04/17 Initial version.
CONFIDENTIAL