2
* This is an OpenSSL-compatible implementation of the RSA Data Security,
3
* Inc. MD5 Message-Digest Algorithm (RFC 1321).
5
* Written by Solar Designer <solar at openwall.com> in 2001, and placed
6
* in the public domain. There's absolutely no warranty.
8
* Updated in 2012 to meet the needs of ClamAV.
10
* See md5.c for more information.
16
/* Any 32-bit or wider unsigned integer data type will do */
17
typedef unsigned int MD5_u32plus;
21
MD5_u32plus a, b, c, d;
22
unsigned char buffer[64];
23
MD5_u32plus block[16];
26
extern void cli_md5_init(cli_md5_ctx *ctx);
27
extern int cli_md5_update(cli_md5_ctx *ctx, const void *data, unsigned long size);
28
extern void cli_md5_final(unsigned char *result, cli_md5_ctx *ctx);