Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

# md4.h

    00001 #ifndef MD4_H
    00002 #define MD4_H
    00003
    00004 /* $Id: md4.h,v 1.6 2005/07/08 08:22:52 freddy77 Exp $ */
    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 /* !MD4_H */