summaryrefslogtreecommitdiff
path: root/src/encryption.h
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2025-01-27 17:18:01 -0600
committer@syxhe <https://t.me/syxhe>2025-01-27 17:18:01 -0600
commit7aab85b35f884344585101aedfbd3a922bdeeb19 (patch)
tree9145ae31026e5650a7cab757fa9171ccbb0281cb /src/encryption.h
parent47a1a3a803de74b2521720966318a8be23490e7c (diff)
Write encrypttotmp, fuck up decryption again
Diffstat (limited to 'src/encryption.h')
-rw-r--r--src/encryption.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/encryption.h b/src/encryption.h
index c780e2b..1c38141 100644
--- a/src/encryption.h
+++ b/src/encryption.h
@@ -6,6 +6,8 @@
6// manually run `sodium_init()` in some main or init function of your own so that you can deal with a potential error yourself 6// manually run `sodium_init()` in some main or init function of your own so that you can deal with a potential error yourself
7#define ___VXGG___ALWAYS_CHECK_LIBSODIUM___ 0 7#define ___VXGG___ALWAYS_CHECK_LIBSODIUM___ 0
8 8
9#define CHUNK_SIZE ((int)(1 << 12))
10
9#if defined ___VXGG___ALWAYS_CHECK_LIBSODIUM___ && ___VXGG___ALWAYS_CHECK_LIBSODIUM___ > 0 11#if defined ___VXGG___ALWAYS_CHECK_LIBSODIUM___ && ___VXGG___ALWAYS_CHECK_LIBSODIUM___ > 0
10 12
11// Definition for the callback function that fires when a call to checksodium fails 13// Definition for the callback function that fires when a call to checksodium fails