#include <nitro/math/dgt.h>
static inline void MATH_SHA256Init( MATHSHA256Context *context );
context | Pointer to the context structure to initialize. This structure is used for SHA-256 generation. |
None.
This function initializes the MATHSHA256Context
context structure used for SHA-256 calculations. Make sure that this function is called before using the MATH_SHA256Update
and MATH_SHA256GetHash
functions.
You can re-apply this function to a context structure that is already initialized. In this case, it will return the context structure to its initial state. 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_SHA256Update, MATH_SHA256GetHash
2008/05/23 Initial version.
CONFIDENTIAL