1 /* MD2.H - header file for MD2C.C
4 /* Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All
7 License to copy and use this software is granted for
8 non-commercial Internet Privacy-Enhanced Mail provided that it is
9 identified as the "RSA Data Security, Inc. MD2 Message Digest
10 Algorithm" in all material mentioning or referencing this software
13 RSA Data Security, Inc. makes no representations concerning either
14 the merchantability of this software or the suitability of this
15 software for any particular purpose. It is provided "as is"
16 without express or implied warranty of any kind.
18 These notices must be retained in any copies of any part of this
19 documentation and/or software.
30 unsigned char state[16]; /* state */
31 unsigned char checksum[16]; /* checksum */
32 unsigned int count; /* number of bytes, modulo 16 */
33 unsigned char buffer[16]; /* input buffer */
36 void MD2Init PROTO_LIST ((MD2_CTX *));
37 void MD2Update PROTO_LIST
38 ((MD2_CTX *, unsigned char *, unsigned int));
39 void MD2Final PROTO_LIST ((unsigned char [16], MD2_CTX *));