/*
 * $Id$
 * 
 * This file belongs to FreeMiNT.  It's not in the original MiNT 1.12
 * distribution.  See the file Changes.MH for a detailed log of changes.
 * 
 * 
 * md5.h dated 99/09/26
 * 
 * Constants and prototypes for the MD5-message digest algorithm. Original file
 * by Colin Plumb, with minor modifications.
 * 
 */

# ifndef _md5_h
# define _md5_h

# include "mint/mint.h"

struct MD5Context
{
	__u32 buf[4];
	__u32 bits[2];
	unsigned char in[64];
};

void MD5Init(struct MD5Context *context);
void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned short len);
void MD5Final(unsigned char digest[16], struct MD5Context *context);
void MD5Transform(__u32 buf[4], __u32 const in[16]);

# endif /* _md5_h */
