Add definitions for MD5_BLOCK_LENGTH, MD5_DIGEST_LENGTH and

MD5_DIGEST_STRING_LENGTH.

MFC after:	3 days
This commit is contained in:
Andre Oppermann 2006-03-15 19:47:12 +00:00
parent e4bd8f103e
commit b1955eecdd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156752

View file

@ -27,6 +27,11 @@ documentation and/or software.
#ifndef _SYS_MD5_H_ #ifndef _SYS_MD5_H_
#define _SYS_MD5_H_ #define _SYS_MD5_H_
#define MD5_BLOCK_LENGTH 64
#define MD5_DIGEST_LENGTH 16
#define MD5_DIGEST_STRING_LENGTH (MD5_DIGEST_LENGTH * 2 + 1)
/* MD5 context. */ /* MD5 context. */
typedef struct MD5Context { typedef struct MD5Context {
u_int32_t state[4]; /* state (ABCD) */ u_int32_t state[4]; /* state (ABCD) */