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