summaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash.h')
-rw-r--r--src/hash.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hash.h b/src/hash.h
index 4831c4b..874669a 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -1,8 +1,10 @@
-#define HASH_OUTPUT_LENGTH 16U
+enum {
+ HASH_OUTPUT_LENGTH = 16U,
+};
void
hash(
const size_t inlen,
const void *const restrict in,
- uint8_t out[HASH_OUTPUT_LENGTH]
+ u8 out[HASH_OUTPUT_LENGTH]
);