Files
bitchx/dll/arcfour/md5.h
2013-01-01 03:00:55 -08:00

15 lines
552 B
C

/* typedef a 32 bit type */
typedef unsigned long int UINT_32;
/* Data structure for MD5 (Message Digest) computation */
typedef struct {
UINT_32 i[2]; /* number of _bits_ handled mod 2^64 */
UINT_32 buf[4]; /* scratch buffer */
unsigned char in[64]; /* input buffer */
unsigned char digest[16]; /* actual digest after MD5Final call */
} MD5_CTX;
void MD5Final(MD5_CTX *);
void MD5Update(MD5_CTX *, unsigned char *, unsigned int);
void MD5Init(MD5_CTX *);