Add comment in config.h about key size - dedup - deduplicating backup program
HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit f81b3debf25007a65bed7285027fe09a81dd5517
DIR parent 05e0a550a54729efb11fb50d5259312dc9d58dab
HTML Author: sin <sin@2f30.org>
Date: Thu, 2 May 2019 15:46:27 +0100
Add comment in config.h about key size
Diffstat:
M config.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR 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)