nn::crypto::CalculateSha256 Function

Syntax

void CalculateSha256(
     void * pOut,
     const void * pData,
     size_t length
);

Arguments

Name Description
out pOut Pointer to the location in which to store the SHA-256 value.
in pData Pointer to the input data.
in length Length of the input data.

Return Values

None.

Description

Utility function that encompasses a sequence of operations used for SHA-256 calculation.

This function cannot be used if you need to split up the data and call Update multiple times.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL