summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1996-09-29 18:30:49 +0000
committermillert <millert@openbsd.org>1996-09-29 18:30:49 +0000
commita10e7b0555d6e9ea217535f72350084b5515bcec (patch)
treecb48abb2e1315bc09078ed4132c9acf16fb7871c
parentdocument in field; spotted by peter (diff)
downloadwireguard-openbsd-a10e7b0555d6e9ea217535f72350084b5515bcec.tar.xz
wireguard-openbsd-a10e7b0555d6e9ea217535f72350084b5515bcec.zip
Add function prototypes.
-rw-r--r--include/sha1.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/sha1.h b/include/sha1.h
index 1afa8ce3469..2f3b9b3a8ca 100644
--- a/include/sha1.h
+++ b/include/sha1.h
@@ -7,6 +7,9 @@
Comments to pgut1@cs.aukuni.ac.nz */
+#ifndef _SHA1_H
+#define _SHA1_H
+
/* Useful defines/typedefs */
typedef unsigned char BYTE;
@@ -48,5 +51,11 @@ typedef struct {
* S1(X) = (X<<1) OR (X>>31).
*
*/
-
#define NEW_SHA1
+
+void sha1Init (SHA1_INFO *);
+void sha1Transform (SHA1_INFO *);
+void sha1Final (SHA1_INFO *);
+void sha1Update (SHA1_INFO *, BYTE *, int);
+
+#endif /* _SHA1_H */