Last change
on this file since 2430 was 1416, checked in by ansari, 25 years ago |
Variable d'alignement memoire pour SunOS ds gnumd5.h - Reza 22/2/2001
|
File size:
468 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_8 mem_align; /* To force memory alignment on SunOS 22/02/2001 */
|
---|
10 | uint_1 buf[64];
|
---|
11 | uint_4 A,B,C,D; /* chaining variables */
|
---|
12 | uint_4 nblocks;
|
---|
13 | int count;
|
---|
14 | } MD5_CONTEXT;
|
---|
15 |
|
---|
16 |
|
---|
17 | void
|
---|
18 | md5_init( MD5_CONTEXT *ctx );
|
---|
19 |
|
---|
20 | void
|
---|
21 | md5_write( MD5_CONTEXT *hd, uint_1 *inbuf, size_t inlen);
|
---|
22 |
|
---|
23 | void
|
---|
24 | md5_final( MD5_CONTEXT *hd );
|
---|
25 |
|
---|
26 |
|
---|
27 |
|
---|
28 |
|
---|
29 | #ifdef __cplusplus
|
---|
30 | }
|
---|
31 | #endif
|
---|
32 |
|
---|
33 |
|
---|
34 |
|
---|
35 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.