1 /* $XConsortium: md5.h /main/1 1995/11/03 10:29:17 rswiston $ */
3 * COMPONENT_NAME: desktop
9 * This module contains IBM CONFIDENTIAL code. -- (IBM
10 * Confidential Restricted when combined with the aggregated
11 * modules for this product)
12 * OBJECT CODE ONLY SOURCE MATERIALS
14 * (C) COPYRIGHT International Business Machines Corp. 1995
16 * US Government Users Restricted Rights - Use, duplication or
17 * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
23 * $Revision: /main/1 $
25 * RESTRICTED CONFIDENTIAL INFORMATION:
27 * The information in this document is subject to special
28 * restrictions in a confidential disclosure agreement bertween
29 * HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
30 * document outside HP, IBM, Sun, USL, SCO, or Univel wihtout
31 * Sun's specific written approval. This documment and all copies
32 * and derivative works thereof must be returned or destroyed at
35 * Copyright 1993 Sun Microsystems, Inc. All rights reserved.
40 #ifndef I_HAVE_NO_IDENT
43 /* MD5.H - header file for MD5C.C
46 /* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
49 License to copy and use this software is granted provided that it
50 is identified as the "RSA Data Security, Inc. MD5 Message-Digest
51 Algorithm" in all material mentioning or referencing this software
54 License is also granted to make and use derivative works provided
55 that such works are identified as "derived from the RSA Data
56 Security, Inc. MD5 Message-Digest Algorithm" in all material
57 mentioning or referencing the derived work.
59 RSA Data Security, Inc. makes no representations concerning either
60 the merchantability of this software or the suitability of this
61 software for any particular purpose. It is provided "as is"
62 without express or implied warranty of any kind.
63 These notices must be retained in any copies of any part of this
64 documentation and/or software.
70 #include "md5global.h"
74 UINT4 state[4]; /* state (ABCD) */
75 UINT4 count[2]; /* number of bits, modulo 2^64 (lsb first) */
76 unsigned char buffer[64]; /* input buffer */
83 void MD5Init(MD5_CTX *);
84 void MD5Update(MD5_CTX *, unsigned char *, unsigned int);
85 void MD5Final(unsigned char *, MD5_CTX *);