1
/* md5.h - header file for implementation of MD5
3
* Copyright (C) 1990, RSA Data Security, Inc.
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program - see the file COPYING.
18
* See `CHANGES' file for revision history.
21
#ifndef __MD5_INCLUDE__
23
/* typedef a 32-bit type */
24
typedef unsigned int UINT4;
26
/* Data structure for MD5 (Message-Digest) computation */
28
UINT4 i[2]; /* number of _bits_ handled mod 2^64 */
29
UINT4 buf[4]; /* scratch buffer */
30
unsigned char in[64]; /* input buffer */
31
unsigned char digest[16]; /* actual digest after MD5Final call */
35
void MD5Init __P((MD5_CTX*));
36
void MD5Update __P((MD5_CTX*, unsigned char*, UINT4));
37
void MD5Final __P((unsigned char[], MD5_CTX*));
42
#define __MD5_INCLUDE__
43
#endif /* __MD5_INCLUDE__ */