mirror of
https://0xacab.org/liberate/trees.git
synced 2024-11-22 02:00:36 +01:00
Rever chunk size to 500k
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
This commit is contained in:
parent
329318b386
commit
495ef46ec3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user