Rever chunk size to 500k

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
This commit is contained in:
David Goulet 2016-12-07 15:29:11 -05:00
parent 329318b386
commit 495ef46ec3

View File

@ -25,7 +25,8 @@
#include <sodium.h>
#define MAGIC_SIZE (sizeof(scrambler_header))
#define CHUNK_SIZE 8192
//#define CHUNK_SIZE 8192
#define CHUNK_SIZE 500000
#define ENCRYPTED_CHUNK_SIZE (crypto_box_SEALBYTES + CHUNK_SIZE)
#define MAXIMAL_PASSWORD_LENGTH 256
#define MAX_ISTREAM_BUFFER_SIZE (ENCRYPTED_CHUNK_SIZE * 2)