FreeTDS API: include/md4.h Source File

FreeTDS API

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

- File List
- File Members

All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules 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 #include <freetds/pushvis.h>
7
8 struct MD4Context
9 {
10 TDS_UINT buf[4];
11 TDS_UINT8 bytes;
12 unsigned char in[64];
13 };
14
15 void MD4Init(struct MD4Context *context);
16 void MD4Update(struct MD4Context *context, unsigned char const *buf, size_t len);
17 void MD4Final(struct MD4Context *context, unsigned char *digest);
18 void MD4Transform(TDS_UINT buf[4], TDS_UINT const in[16]);
19
20 typedef struct MD4Context MD4_CTX;
21
22 #include <freetds/popvis.h>
23
24 #endif /* !MD4_H */
MD4Context
Definition: md4.h:8