source: Sophya/trunk/SophyaLib/BaseTools/gnumd5.h@ 743

Last change on this file since 743 was 742, checked in by ansari, 26 years ago

new md5

File size: 389 bytes
RevLine 
[742]1#ifndef GNUMD5_H
2#define GNUMD5_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8typedef 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
16void
17md5_init( MD5_CONTEXT *ctx );
18
19void
20md5_write( MD5_CONTEXT *hd, uint_1 *inbuf, size_t inlen);
21
22void
23md5_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.