nn::crypto::RsaContext::SignSha256 Member Function

Syntax

nn::Result SignSha256(
     size_t * pSignLength,
     void * pDest,
     size_t destSize,
     const void * pSrc
);

Parameters

Name Description
out pSignLength Length of signature data created.
out pDest The address of the buffer storing signature data.
in destSize The size of the buffer storing signature data (in bytes).
in pSrc Pointer to the address storing the SHA256 hask to be included in the signature.

Return Values

nn::Result

Description

Creates an RSA-PKCS1-v1.5-SHA256 signature from a hash.


CONFIDENTIAL