FreeTDS API: include/md4.h Source File

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

# include/md4.h

    00001 #ifndef MD4_H
    00002 #define MD4_H
    00003
    00004 /* $Id: md4.h,v 1.9 2010-01-25 23:05:58 freddy77 Exp $ */
    00005
    00006 #if defined(__GNUC__) && __GNUC__ >= 4 && !defined(__MINGW32__)
    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, size_t 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 && !defined(__MINGW32__)
    00025 #pragma GCC visibility pop
    00026 #endif
    00027
    00028 #endif /* !MD4_H */

All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines