From 6388d3d9cf07f4ef99b2149951cb5533a69f8912 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Sun, 24 Nov 1996 02:26:01 +0000 Subject: 64-bit cleanup + pedantic -W flags --- include/md4.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/md4.h') 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_ */ -- cgit v1.2.3