Last change
on this file since 4 was
2,
checked in by hhi, 13 years ago
|
inital import
|
-
Property svn:eol-style set to
native
|
File size:
380 bytes
|
Rev | Line | |
---|
[2] | 1 | |
---|
| 2 | #pragma once |
---|
| 3 | #include <stdint.h> |
---|
| 4 | |
---|
| 5 | typedef struct _context_md5_t { |
---|
| 6 | uint32_t buf[4]; |
---|
| 7 | uint32_t bits[2]; |
---|
| 8 | unsigned char in[64]; |
---|
| 9 | } context_md5_t; |
---|
| 10 | |
---|
| 11 | #ifdef __cplusplus |
---|
| 12 | extern "C" { |
---|
| 13 | #endif |
---|
| 14 | void MD5Init(context_md5_t *ctx); |
---|
| 15 | void MD5Update(context_md5_t *ctx, unsigned char *buf, unsigned len); |
---|
| 16 | void MD5Final(unsigned char digest[16], context_md5_t *ctx); |
---|
| 17 | #ifdef __cplusplus |
---|
| 18 | } |
---|
| 19 | #endif |
---|
Note: See
TracBrowser for help on using the repository browser.