projects
/
project
/
odhcp6c.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use more conventional way for the alignment
[project/odhcp6c.git]
/
src
/
md5.h
1
#include <stdint.h>
2
#include <stddef.h>
3
4
typedef
struct
md5_ctx
{
5
uint32_t
A
;
6
uint32_t
B
;
7
uint32_t
C
;
8
uint32_t
D
;
9
uint64_t
total
;
10
uint32_t
buflen
;
11
char
buffer
[
128
];
12
}
md5_ctx_t
;
13
14
void
md5_begin
(
md5_ctx_t
*
ctx
);
15
void
md5_hash
(
const void
*
data
,
size_t
length
,
md5_ctx_t
*
ctx
);
16
void
md5_end
(
void
*
resbuf
,
md5_ctx_t
*
ctx
);