summaryrefslogtreecommitdiff
path: root/include/md4.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-12-23 04:33:32 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-12-23 04:33:32 +0000
commit240d00ccd27633050d6be0531a777f845b5b5440 (patch)
tree29cb992a046c08dd2cfb239776fcbb1a8c6be710 /include/md4.h
parent29b88a9674bfc30b4c7a4401f9169584b56e571a (diff)
o Ansi function headers
o Add __BEGIN_DECLS/__END_DECLS to include files o Safe macros o Remove useless variable assignment in the End function of *hl.c o Some minor KNF, needs more From Dan Weeks
Diffstat (limited to 'include/md4.h')
-rw-r--r--include/md4.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/md4.h b/include/md4.h
index 89cabf7436d..0bd4e4a5a08 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.6 2002/02/16 21:27:17 millert Exp $
+ * $OpenBSD: md4.h,v 1.7 2002/12/23 04:33:31 millert Exp $
*/
/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
@@ -33,6 +33,9 @@ typedef struct MD4Context {
unsigned char buffer[64]; /* input buffer */
} MD4_CTX;
+#include <sys/cdefs.h>
+
+__BEGIN_DECLS
void MD4Init(MD4_CTX *);
void MD4Update(MD4_CTX *, const unsigned char *, size_t);
void MD4Final(unsigned char [16], MD4_CTX *);
@@ -40,5 +43,6 @@ void MD4Transform(u_int32_t [4], const unsigned char [64]);
char * MD4End(MD4_CTX *, char *);
char * MD4File(char *, char *);
char * MD4Data(const unsigned char *, size_t, char *);
+__END_DECLS
#endif /* _MD4_H_ */