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.7 2007/03/12 13:28:50 freddy77 Exp $ */
    00005
    00006 #if defined(__GNUC__) && __GNUC__ >= 4
    00007 #pragma GCC visibility push(hidden)
    00008 #endif
    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 #if defined(__GNUC__) && __GNUC__ >= 4
    00025 #pragma GCC visibility pop
    00026 #endif
    00027
    00028 #endif /* !MD4_H */