source: rtems/cpukit/httpd/md5.h @ f26145b

4.104.114.84.95
Last change on this file since f26145b was 73b5bd5d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/15/04 at 13:33:58

Remove stray white spaces.

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