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

md5.h

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

Generated on Wed May 7 19:22:09 2008 for FreeTDS API by  doxygen 1.4.1