From bcd92a6bae7ba0ee27664645a5e733875b059cf1 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 29 Sep 1996 18:30:50 +0000 Subject: Add function prototypes. --- include/sha1.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 */ -- cgit v1.2.3