Ok, the long awaited config wizard is here (at least in a very basic state). There...
[quassel.git] / src / contrib / libqxt-2007-10-24 / src / crypto / thirdparty / md4.h
1 /*
2  * This is an OpenSSL-compatible implementation of the RSA Data Security,
3  * Inc. MD4 Message-Digest Algorithm.
4  *
5  * Written by Solar Designer <solar@openwall.com> in 2001, and placed in
6  * the public domain.  See md4.c for more information.
7  */
8
9 #ifndef __MD4_H
10 #define __MD4_H
11
12 #include <qglobal.h>
13
14 #define MD4_RESULTLEN (128/8)
15
16 struct md4_context {
17         quint32 lo, hi;
18         quint32 a, b, c, d;
19         unsigned char buffer[64];
20         quint32 block[MD4_RESULTLEN];
21 };
22
23 static void md4_init(struct md4_context *ctx);
24 static void md4_update(struct md4_context *ctx, const unsigned char *data, size_t size);
25 static void md4_final(struct md4_context *ctx, unsigned char result[MD4_RESULTLEN]);
26
27
28 #endif