00001 #ifndef MD4_H
00002 #define MD4_H
00003
00004
00005
00006 struct MD4Context
00007 {
00008 TDS_UINT buf[4];
00009 TDS_UINT bits[2];
00010 unsigned char in[64];
00011 };
00012
00013 void MD4Init(struct MD4Context *context);
00014 void MD4Update(struct MD4Context *context, unsigned char const *buf, unsigned len);
00015 void MD4Final(struct MD4Context *context, unsigned char *digest);
00016 void MD4Transform(TDS_UINT buf[4], TDS_UINT const in[16]);
00017
00018 typedef struct MD4Context MD4_CTX;
00019
00020 #endif