summaryrefslogtreecommitdiff
path: root/include/sha1.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-07-12 20:06:04 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-07-12 20:06:04 +0000
commit12e530ac3436852e1557bb8f9bdc5564d58b52f9 (patch)
treefd26b9b8b1406de31f1ab7a3dda6519e2a4163ef /include/sha1.h
parent748a607d6e4f5caac91dc3612866329cef546ed1 (diff)
Add SHA1End, SHA1File, SHA1Data helper functions like in md5(3).
Diffstat (limited to 'include/sha1.h')
-rw-r--r--include/sha1.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/sha1.h b/include/sha1.h
index a3c6193bea1..cec4aa2eb3b 100644
--- a/include/sha1.h
+++ b/include/sha1.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sha1.h,v 1.6 1997/07/10 23:37:49 millert Exp $ */
+/* $OpenBSD: sha1.h,v 1.7 1997/07/12 20:06:01 millert Exp $ */
/*
* SHA-1 in C
@@ -19,5 +19,8 @@ void SHA1Transform __P((u_int32_t state[5], u_char buffer[64]));
void SHA1Init __P((SHA1_CTX *context));
void SHA1Update __P((SHA1_CTX *context, u_char *data, u_int len));
void SHA1Final __P((u_char digest[20], SHA1_CTX *context));
+char *SHA1End __P((SHA1_CTX *, char *));
+char *SHA1File __P((char *, char *));
+char *SHA1Data __P((const u_char *, size_t, char *));
#endif /* _SHA1_H */