00001 #ifndef MD4_H
00002 #define MD4_H
00003
00004 static const char rcsid_md4_h[] = "$Id: md4.h,v 1.5 2004/10/28 12:42:12 freddy77 Exp $";
00005 static const void *const no_unused_md4_h_warn[] = { rcsid_md4_h, no_unused_md4_h_warn };
00006
00007 struct MD4Context
00008 {
00009 TDS_UINT buf[4];
00010 TDS_UINT bits[2];
00011 unsigned char in[64];
00012 };
00013
00014 void MD4Init(struct MD4Context *context);
00015 void MD4Update(struct MD4Context *context, unsigned char const *buf, unsigned len);
00016 void MD4Final(struct MD4Context *context, unsigned char *digest);
00017 void MD4Transform(TDS_UINT buf[4], TDS_UINT const in[16]);
00018
00019 typedef struct MD4Context MD4_CTX;
00020
00021 #endif