aboutsummaryrefslogtreecommitdiff
path: root/include/noscryptutil.h
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-08-07 21:14:53 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-08-07 21:14:53 -0400
commitf58245b0d249fc162feacc610eedf81656a481a3 (patch)
tree7b58cf4d50311dce4cc4fdfe0b60c4faea006a32 /include/noscryptutil.h
parent7c8f910e5be9a1d86af5bdcb7e51e8092cc06cf6 (diff)
feat: Add cipher mode mask and fix cc
Diffstat (limited to 'include/noscryptutil.h')
-rw-r--r--include/noscryptutil.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/noscryptutil.h b/include/noscryptutil.h
index 709f607..63e08f8 100644
--- a/include/noscryptutil.h
+++ b/include/noscryptutil.h
@@ -43,6 +43,8 @@ extern "C" {
#define E_CIPHER_BAD_INPUT -15
#define E_CIPHER_BAD_INPUT_SIZE -16
+#define NC_UTIL_CIPHER_MODE 0x01u
+
#define NC_UTIL_CIPHER_MODE_ENCRYPT 0x00u
#define NC_UTIL_CIPHER_MODE_DECRYPT 0x01u
#define NC_UTIL_CIPHER_ZERO_ON_FREE 0x02u