source:
Sophya/trunk/SophyaLib/BaseTools/gnumd5.h@
1399
| Last change on this file since 1399 was 1283, checked in by , 25 years ago | |
|---|---|
| File size: 390 bytes | |
| Rev | Line | |
|---|---|---|
| [742] | 1 | #ifndef GNUMD5_H |
| 2 | #define GNUMD5_H | |
| 3 | ||
| 4 | #ifdef __cplusplus | |
| 5 | extern "C" { | |
| 6 | #endif | |
| 7 | ||
| 8 | typedef struct { | |
| [1283] | 9 | uint_1 buf[64]; |
| [742] | 10 | uint_4 A,B,C,D; /* chaining variables */ |
| 11 | uint_4 nblocks; | |
| 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 | ||
| [802] | 34 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/PI/chrome/site/your_project_logo.png)