| Line | |
|---|
| 1 | #ifndef GNUMD5_H
|
|---|
| 2 | #define GNUMD5_H
|
|---|
| 3 |
|
|---|
| 4 | #ifdef __cplusplus
|
|---|
| 5 | extern "C" {
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | typedef struct {
|
|---|
| 9 | uint_4 A,B,C,D; /* chaining variables */
|
|---|
| 10 | uint_4 nblocks;
|
|---|
| 11 | uint_1 buf[64];
|
|---|
| 12 | int count;
|
|---|
| 13 | } MD5_CONTEXT;
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 | void
|
|---|
| 17 | md5_init( MD5_CONTEXT *ctx );
|
|---|
| 18 |
|
|---|
| 19 | void
|
|---|
| 20 | md5_write( MD5_CONTEXT *hd, uint_1 *inbuf, size_t inlen);
|
|---|
| 21 |
|
|---|
| 22 | void
|
|---|
| 23 | md5_final( MD5_CONTEXT *hd );
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 | #ifdef __cplusplus
|
|---|
| 29 | }
|
|---|
| 30 | #endif
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 | #endif |
|---|
Note:
See
TracBrowser
for help on using the repository browser.