2 Copyright (c) 1995-1998 by Cisco systems, Inc.
4 Permission to use, copy, modify, and distribute this software for
5 any purpose and without fee is hereby granted, provided that this
6 copyright and permission notice appear on all copies of the
7 software and supporting documentation, the name of Cisco Systems,
8 Inc. not be used in advertising or publicity pertaining to
9 distribution of the program without specific prior permission, and
10 notice be given in supporting documentation that modification,
11 copying and distribution is by permission of Cisco Systems, Inc.
13 Cisco Systems, Inc. makes no representations about the suitability
14 of this software for any purpose. THIS SOFTWARE IS PROVIDED ``AS
15 IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
16 WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
17 FITNESS FOR A PARTICULAR PURPOSE.
20 /* MD4.H - header file for MD4C.C
24 /* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
27 License to copy and use this software is granted provided that it
28 is identified as the "RSA Data Security, Inc. MD4 Message-Digest
29 Algorithm" in all material mentioning or referencing this software
31 License is also granted to make and use derivative works provided
32 that such works are identified as "derived from the RSA Data
33 Security, Inc. MD4 Message-Digest Algorithm" in all material
34 mentioning or referencing the derived work.
36 RSA Data Security, Inc. makes no representations concerning either
37 the merchantability of this software or the suitability of this
38 software for any particular purpose. It is provided "as is"
39 without express or implied warranty of any kind.
41 These notices must be retained in any copies of any part of this
42 documentation and/or software.
48 typedef struct MD4Context {
49 unsigned long int state[4]; /* state (ABCD) */
50 unsigned long int count[2]; /* number of bits, modulo 2^64 (lsb first) */
51 unsigned char buffer[64]; /* input buffer */