VerifySha1

nn::crypto::RsaContext::VerifySha1 Member Function

Syntax

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

Parameters

Name Description
in pSrc Pointer to the address storing the SHA1 hash to verify.
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 a RSA-PKCS1-v1.5-SHA1 signature from a hash.

This function is included in the API to maintain compatibility with legacy signature verification methods. Nintendo recommends using VerifySha256 if there is no particular reason to do otherwise.

Revision History

2011/12/16
Initial version.

CONFIDENTIAL