#include <nitro/math/dgt.h>
static inline void MATH_SHA256Update( MATHSHA256Context *context, const void* input, u32 length );
context | Pointer to the context structure used for SHA-256 generation. |
input | Pointer to the input data. |
length | Size of the input data. |
None.
This function updates the SHA-256 digest value based on the input data. You must initialize the context
argument in advance using the MATH_SHA256Init
function. Call this function as many times as needed, and then use the MATH_SHA256GetHash
function to obtain the digest value. Any size and alignment position can be used for the input data. SHA-256 is an algorithm to find the message digest value. For details, refer to the Federal Information Processing Standard, FIPS PUB 180-2.
MATH_SHA256Init
, MATH_SHA256GetHash
2008/05/23 Initial version.
CONFIDENTIAL