projects
/
blerg.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add runtime configuration to perl lib
[blerg.git]
/
common
/
md5.h
1
#ifndef MD5_H
2
#define MD5_H
3
4
#include <stdint.h>
5
6
#ifdef WORDS_BIGENDIAN
7
#define HIGHFIRST
8
#endif
9
10
#define MD5_DIGEST_SIZE 16
11
12
struct MD5Context
13
{
14
uint32_t buf[4];
15
uint32_t bits[2];
16
unsigned char in[64];
17
};
18
19
20
void
21
MD5Init(struct MD5Context *ctx);
22
23
void
24
MD5Update(struct MD5Context *ctx,
25
const void *buf,
26
unsigned len);
27
28
void MD5Final(unsigned char digest[MD5_DIGEST_SIZE],
29
struct MD5Context *ctx);
30
31
#endif /* !MD5_H */