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

Last change on this file since 1283 was 1283, checked in by ansari, 25 years ago

Pb alignement memoire pour struc MD5_CONTEXT ds gnumd5.h et MAJ num. de version - Reza 2/11/2000

File size: 390 bytes
Line 
1#ifndef GNUMD5_H
2#define GNUMD5_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8typedef struct {
9 uint_1 buf[64];
10 uint_4 A,B,C,D; /* chaining variables */
11 uint_4 nblocks;
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.