s/qmail
4.3.17
Next generation secure email transport
Loading...
Searching...
No Matches
4.3
sqmail-4.3.17
src
include
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. */
31
typedef
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
37
void
MD5Init
(
MD5_CTX
*);
38
void
MD5Update
(
MD5_CTX
*,
unsigned
char
*,
unsigned
int
);
39
void
MD5Final
(
unsigned
char
[16],
MD5_CTX
*);
40
41
#endif
MD5Init
void MD5Init(MD5_CTX *)
Definition:
md5c.c:95
MD5Final
void MD5Final(unsigned char[16], MD5_CTX *)
Definition:
md5c.c:144
MD5Update
void MD5Update(MD5_CTX *, unsigned char *, unsigned int)
Definition:
md5c.c:109
MD5_CTX
Definition:
md5.h:31
Generated on Sun Oct 6 2024 13:37:44 for s/qmail by
1.9.6