aboutsummaryrefslogtreecommitdiff
path: root/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto.h')
-rw-r--r--crypto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto.h b/crypto.h
new file mode 100644
index 0000000..f73fc1d
--- /dev/null
+++ b/crypto.h
@@ -0,0 +1,5 @@
+/* we use SHA256 for h() */
+typedef struct hash_t {
+ /* a hash of all zeros is given a special meaning */
+ unsigned char hash[32];
+} hash_t;