#include <nitro/math/dgt.h>
static inline void MATH_CalcMD5( void* digest, const void* data, u32 dataLength );
digest | Pointer to the memory location that holds the calculated MD5 value. |
data | Pointer to the input data |
dataLength | Size of the input data |
None.
This function calculates MD5. The length of the generated MD5 value is 128 bits, or MATH_MD5_DIGEST_SIZE (= 16)
This is a utility function that successively calls MATH_MD5Init
MATH_MD5Update
MATH_MD5GetHash
MATHMD5Context
structure is allocated to the stack, so make sure that you have sufficient stack when calling the function. MD5 is an algorithm to find the message digest value. For details, see RFC (Request For Comments) 1321, which is published by IETF (The Internet Engineering Task Force).
04/12/2005 Initial version.