networkclient
Main Page
Modules
Data Structures
Files
File List
Globals
md5.h
Go to the documentation of this file.
1
29
#ifdef HAVE_OPENSSL
30
#include <openssl/md5.h>
31
#elif !defined(_MD5_H)
32
#define _MD5_H
33
34
/* Any 32-bit or wider unsigned integer data type will do */
35
typedef
unsigned
int
MD5_u32plus
;
36
37
typedef
struct
{
38
MD5_u32plus
lo
, hi;
39
MD5_u32plus
a, b, c,
d
;
40
unsigned
char
buffer[64];
41
MD5_u32plus
block[16];
42
}
MD5_CTX
;
43
44
extern
void
MD5_Init
(
MD5_CTX
*ctx);
45
extern
void
MD5_Update
(
MD5_CTX
*ctx,
const
void
*data,
unsigned
long
size);
46
extern
void
MD5_Final
(
unsigned
char
*result,
MD5_CTX
*ctx);
47
48
#endif
MD5_Init
void MD5_Init(MD5_CTX *ctx)
Definition:
md5.c:210
MD5_Update
void MD5_Update(MD5_CTX *ctx, const void *data, unsigned long size)
Definition:
md5.c:221
MD5_CTX::d
MD5_u32plus d
Definition:
md5.h:39
MD5_CTX
Definition:
md5.h:37
MD5_CTX::lo
MD5_u32plus lo
Definition:
md5.h:38
MD5_u32plus
unsigned int MD5_u32plus
Definition:
md5.h:35
MD5_Final
void MD5_Final(unsigned char *result, MD5_CTX *ctx)
Definition:
md5.c:261
md5.h
Generated on Tue Nov 20 2018 10:36:15 for networkclient by
1.8.9.1