#include <nitro/math/dgt.h>
typedef struct MATHSHA1Context MATHSHA1Context;
Do not access the elements of this structure directly.
This is the context structure used in calculating SHA-1. It has a size of 104 bytes. Initialize the structure with MATH_SHA1Init
, use MATH_SHA1Update
to assign input data, and MATH_SHA1GetHash
to get the message digest value. 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_SHA1Init
, MATH_SHA1Update
, MATH_SHA1GetHash
04/12/2005 Added description of size.
04/01/2005 Initial version.