commit f81b3debf25007a65bed7285027fe09a81dd5517
parent 05e0a550a54729efb11fb50d5259312dc9d58dab
Author: sin <sin@2f30.org>
Date: Thu, 2 May 2019 15:46:27 +0100
Add comment in config.h about key size
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.h b/config.h
@@ -1,7 +1,7 @@
#define ARCHIVEPATH "archive"
#define STORAGEPATH "storage"
#define MDSIZE 32
-#define KEYSIZE 32
+#define KEYSIZE 32 /* should match crypto_aead_xchacha20poly1305_ietf_KEYBYTES */
#define BSIZEAVG ((size_t)(1ul << 21))
#define BSIZEMIN ((size_t)524288)
#define BSIZEMAX ((size_t)8388608)