repo.or.cz
/
kugel-rb
/
myfork.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FS#10446: Bug defense in dsp.c, minor tweaks and comments
[kugel-rb/myfork.git]
/
tools
/
fwpatcher
/
md5.h
blob
71fa395548a0a65a8bd28ab38b7c9095a6443586
1
#ifndef _MD5_H
2
#define _MD5_H
3
4
#ifndef uint8
5
#define uint8 unsigned char
6
#endif
7
8
#ifndef uint32
9
#define uint32 unsigned long int
10
#endif
11
12
typedef
struct
13
{
14
uint32 total
[
2
];
15
uint32 state
[
4
];
16
uint8 buffer
[
64
];
17
}
18
md5_context
;
19
20
void
md5_starts
(
md5_context
*
ctx
);
21
void
md5_update
(
md5_context
*
ctx
,
uint8
*
input
,
uint32 length
);
22
void
md5_finish
(
md5_context
*
ctx
,
uint8 digest
[
16
] );
23
24
#endif
/* md5.h */
25