diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-11-24 02:26:01 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-11-24 02:26:01 +0000 |
commit | 6388d3d9cf07f4ef99b2149951cb5533a69f8912 (patch) | |
tree | ebc1a9ef18f305b2559289da5f10ca04db7bddb6 /include/md4.h | |
parent | 2cc34713ef2a7401726ee17cc4419cee9b170cab (diff) |
64-bit cleanup + pedantic -W flags
Diffstat (limited to 'include/md4.h')
-rw-r--r-- | include/md4.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/md4.h b/include/md4.h index dd81739e343..b8874172fc9 100644 --- a/include/md4.h +++ b/include/md4.h @@ -1,5 +1,5 @@ /* MD4.H - header file for MD4C.C - * $OpenBSD: md4.h,v 1.3 1996/09/30 03:55:47 millert Exp $ + * $OpenBSD: md4.h,v 1.4 1996/11/24 02:25:57 niklas Exp $ */ /* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All @@ -29,15 +29,15 @@ /* MD4 context. */ typedef struct MD4Context { u_int32_t state[4]; /* state (ABCD) */ - u_int32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ + u_int64_t count; /* number of bits, modulo 2^64 */ unsigned char buffer[64]; /* input buffer */ } MD4_CTX; void MD4Init __P((MD4_CTX *)); -void MD4Update __P((MD4_CTX *, const unsigned char *, unsigned int)); +void MD4Update __P((MD4_CTX *, const unsigned char *, size_t)); void MD4Final __P((unsigned char [16], MD4_CTX *)); char * MD4End __P((MD4_CTX *, char *)); char * MD4File __P((char *, char *)); -char * MD4Data __P((const unsigned char *, unsigned int, char *)); +char * MD4Data __P((const unsigned char *, size_t, char *)); #endif /* _MD4_H_ */ |