FreeTDS API

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

- File List
- File Members

All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
md4.h
1 #ifndef MD4_H
2 #define MD4_H
3
4 /* $Id: md4.h,v 1.9 2010-01-25 23:05:58 freddy77 Exp $ */
5
6 #if defined(__GNUC__) && __GNUC__ >= 4 && !defined(__MINGW32__)
7 #pragma GCC visibility push(hidden)
8 #endif
9
10 struct MD4Context
11 {
12 TDS_UINT buf[4];
13 TDS_UINT bits[2];
14 unsigned char in[64];
15 };
16
17 void MD4Init(struct MD4Context *context);
18 void MD4Update(struct MD4Context *context, unsigned char const *buf, size_t len);
19 void MD4Final(struct MD4Context *context, unsigned char *digest);
20 void MD4Transform(TDS_UINT buf[4], TDS_UINT const in[16]);
21
22 typedef struct MD4Context MD4_CTX;
23
24 #if defined(__GNUC__) && __GNUC__ >= 4 && !defined(__MINGW32__)
25 #pragma GCC visibility pop
26 #endif
27
28 #endif /* !MD4_H */