FreeTDS API: /home/jklowden/releases/freetds-0.91/include/md5.h Source File

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

- File List
- File Members

# /home/jklowden/releases/freetds-0.91/include/md5.h

    00001 #ifndef MD5_H
    00002 #define MD5_H
    00003
    00004 /* $Id: md5.h,v 1.6 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 MD5Context {
    00011         TDS_UINT buf[4];
    00012         TDS_UINT bits[2];
    00013         unsigned char in[64];
    00014 };
    00015
    00016 void MD5Init(struct MD5Context *context);
    00017 void MD5Update(struct MD5Context *context, unsigned char const *buf, size_t len);
    00018 void MD5Final(struct MD5Context *context, unsigned char *digest);
    00019 void MD5Transform(TDS_UINT buf[4], TDS_UINT const in[16]);
    00020
    00021 /*
    00022  * This is needed to make RSAREF happy on some MS-DOS compilers.
    00023  */
    00024 typedef struct MD5Context MD5_CTX;
    00025
    00026 #if defined(__GNUC__) && __GNUC__ >= 4 && !defined(__MINGW32__)
    00027 #pragma GCC visibility pop
    00028 #endif
    00029
    00030 #endif /* !MD5_H */

All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines