Commit 495ef46e authored by dgoulet's avatar dgoulet

Rever chunk size to 500k

Signed-off-by: dgoulet's avatarDavid Goulet <dgoulet@ev0ke.net>
parent 329318b3
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment