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