aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/chacha20/chacha.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcryptobox/chacha20/chacha.h')
-rw-r--r--src/libcryptobox/chacha20/chacha.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libcryptobox/chacha20/chacha.h b/src/libcryptobox/chacha20/chacha.h
index f69a63db9..7f93a4517 100644
--- a/src/libcryptobox/chacha20/chacha.h
+++ b/src/libcryptobox/chacha20/chacha.h
@@ -26,9 +26,8 @@
#ifndef CHACHA_H_
#define CHACHA_H_
-enum chacha_constants {
- CHACHA_BLOCKBYTES = 64,
-};
+
+#define CHACHA_BLOCKBYTES 64
typedef struct chacha_state_internal_t {
unsigned char s[48];