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