Develop and Download Open Source Software

Browse CVS Repository

Contents of /xoonips/AL/md5/md5.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Tue Mar 15 04:41:35 2005 UTC (19 years ago) by tani
Branch: MAIN
CVS Tags: AL_PORTING, MergePnt_20051116, REL20051226, XOONIPS_RC1, REL20060323, tag20060615, tag20070307current, tag20061115, MergePnt_20051220, tag20061130, merge_to_20060605, tag20070307, REL20060213, RELENG_2_0_0a_RELEASE, RELEASE_1_0_0, RELEASE_1_0_1, tag20060622, merge_to_20060411, HEAD
Branch point for: XOONIPS_STABLE_32, XOONIPS_STABLE, XOONIPS_STABLE_3, XOONIPS_STABLE_2
Changes since 1.1: +0 -6 lines
File MIME type: text/x-chdr
extern "C"を削除.

1 #ifndef MD5_H
2 #define MD5_H
3 /* MD5.H - header file for MD5C.C
4 */
5
6 /* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
7 rights reserved.
8
9 License to copy and use this software is granted provided that it
10 is identified as the "RSA Data Security, Inc. MD5 Message-Digest
11 Algorithm" in all material mentioning or referencing this software
12 or this function.
13
14 License is also granted to make and use derivative works provided
15 that such works are identified as "derived from the RSA Data
16 Security, Inc. MD5 Message-Digest Algorithm" in all material
17 mentioning or referencing the derived work.
18
19 RSA Data Security, Inc. makes no representations concerning either
20 the merchantability of this software or the suitability of this
21 software for any particular purpose. It is provided "as is"
22 without express or implied warranty of any kind.
23
24 These notices must be retained in any copies of any part of this
25 documentation and/or software.
26 */
27
28 /* MD5 context. */
29 typedef struct {
30 UINT4 state[4]; /* state (ABCD) */
31 UINT4 count[2]; /* number of bits, modulo 2^64 (lsb first) */
32 unsigned char buffer[64]; /* input buffer */
33 } MD5_CTX;
34
35 void MD5Init PROTO_LIST ((MD5_CTX *));
36 void MD5Update PROTO_LIST
37 ((MD5_CTX *, unsigned char *, unsigned int));
38 void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *));
39
40 #define MD5_DIGEST_LENGTH 16
41 #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26