Last change
on this file was 206, checked in by Herwig Bauernfeind, 16 years ago |
Import Samba 3.3 branch at 3.0.0 level (psmedley's port)
|
File size:
423 bytes
|
Rev | Line | |
---|
[206] | 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 buf[4];
|
---|
| 10 | uint32 bits[2];
|
---|
| 11 | unsigned char in[64];
|
---|
| 12 | };
|
---|
| 13 |
|
---|
| 14 | void MD5Init(struct MD5Context *context);
|
---|
| 15 | void MD5Update(struct MD5Context *context, unsigned char const *buf,
|
---|
| 16 | unsigned len);
|
---|
| 17 | void MD5Final(unsigned char digest[16], struct MD5Context *context);
|
---|
| 18 |
|
---|
| 19 | #endif /* !MD5_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.