summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1996-09-29 18:30:50 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1996-09-29 18:30:50 +0000
commitbcd92a6bae7ba0ee27664645a5e733875b059cf1 (patch)
treef0a8540066cdae557c413f2ea4b3caa7e4e2aba9
parentbba334554e1db00a7786b9b4a4b9000f9afeb50c (diff)
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 */