#include <nitro/math/dgt.h>
static inline void MATH_SHA1Init( MATHSHA1Context *context );
context | Pointer to the context structure to initialize. This structure is used for SHA-1 generation. |
None.
This function initializes the MATHSHA1Context
-type context structure used in calculating SHA-1. Make sure that this function is called before using the MATH_SHA1Update
and MATH_SHA1GetHash
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-1 is an algorithm to find the message digest value. For details, see RFC (Request For Comments) 3174, which is published by IETF (The Internet Engineering Task Force).
MATH_SHA1Update
MATH_SHA1GetHash
2005/04/01 Initial version.
CONFIDENTIAL