InitializeKey

nn::crypto::RsaKey::InitializeKey Member Function

Syntax

nn::Result InitializeKey(
     const void * pModulus,
     const void * pExp,
     s32 keyLength,
     bool isPrivate
);

Parameters

Name Description
in pModulus Pointer to the modulus part of the RSA key.
in pExp Pointer to the Exp part of the RSA key.
in keyLength Specifies the key length (in bits).
in isPrivate Specifies whether to initialize RSA keys as private keys. (true = initialize as private key; false = initialize as public key)

Return Values

nn::Result

Description

Initializes by entering each parameter for the RSA key.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL