|
|
1.1 root 1: /* MD2.H - header file for MD2C.C
2: */
3:
4: /* Copyright (C) 1990, RSA Data Security, Inc. All rights reserved.
5:
6: License to copy and use this software is granted for
7: non-commercial Internet Privacy-Enhanced Mail provided that it is
8: identified as the "RSA Data Security, Inc. MD2 Message Digest
9: Algorithm" in all material mentioning or referencing this software
10: or this function.
11:
12: RSA Data Security, Inc. makes no representations concerning either
13: the merchantability of this software or the suitability of this
14: software for any particular purpose. It is provided "as is"
15: without express or implied warranty of any kind.
16:
17: These notices must be retained in any copies of any part of this
18: documentation and/or software.
19: */
20:
21: typedef struct {
22: unsigned char state[16]; /* state */
23: unsigned char checksum[16]; /* checksum */
24: unsigned int count; /* number of bytes, modulo 16 */
25: unsigned char buffer[16]; /* input buffer */
26: } MD2_CTX;
27:
28: void MD2Init PROTO_LIST ((MD2_CTX *));
29: void MD2Update PROTO_LIST ((MD2_CTX *, unsigned char *, unsigned int));
30: void MD2Final PROTO_LIST ((unsigned char [16], MD2_CTX *));
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.