repo.or.cz
/
Samba
/
nascimento.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
s3:rpc_transport_np: handle trans rdata like the output of a normal read
[Samba/nascimento.git]
/
lib
/
crypto
/
md5.h
blob
4064d6f00396e82aae362978fcea68a01fd7f470
1
#ifndef MD5_H
2
#define MD5_H
3
#ifndef HEADER_MD5_H
4
/* Try to avoid clashes with OpenSSL */
5
#define HEADER_MD5_H
6
#endif
7
8
struct
MD5Context
{
9
uint32_t
buf
[
4
];
10
uint32_t
bits
[
2
];
11
uint8_t
in
[
64
];
12
};
13
14
void
MD5Init
(
struct
MD5Context
*
context
);
15
void
MD5Update
(
struct
MD5Context
*
context
,
const uint8_t
*
buf
,
16
size_t
len
);
17
void
MD5Final
(
uint8_t
digest
[
16
],
struct
MD5Context
*
context
);
18
19
#endif
/* !MD5_H */