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
|
---|
5 | extern "C" {
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | typedef 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 |
|
---|
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.