]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - sha1.h
Merge the new afs code.
[paraslash.git] / sha1.h
diff --git a/sha1.h b/sha1.h
new file mode 100644 (file)
index 0000000..4dce20d
--- /dev/null
+++ b/sha1.h
@@ -0,0 +1,5 @@
+/** \file sha1.h Secure Hash Algorithm prototype */
+
+/** Size of the hahs value in bytes. */
+#define HASH_SIZE 20
+void sha1_hash(const char *data, unsigned long len, unsigned char *sha1);