VerifySha256

nn::crypto::RsaContext::VerifySha256 Member Function

Syntax

nn::Result VerifySha256(
     const void * pSrc,
     const void * pSign,
     size_t signLength
);

Parameters

Name Description
in pSrc Pointer to the address storing the SHA256 hash to be verified.
in pSign The address of the buffer storing the signature data.
in signLength Length of the signature.

Return Values

nn::Result verification result

Description

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

Revision History

2011/10/27
Initial version.

CONFIDENTIAL