aboutsummaryrefslogtreecommitdiff
path: root/include/noscryptutil.h
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-07-13 22:13:13 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-07-13 22:13:13 -0400
commitffe42b6858f112a00405be4f0605ab1163063749 (patch)
tree53b0e36bf3bcb4349d0566427d856bb2f89c76e8 /include/noscryptutil.h
parent5dfafbc5a9214587533ec8b1dae2a962118d3650 (diff)
test: Add decryption test cases and fixes
Diffstat (limited to 'include/noscryptutil.h')
-rw-r--r--include/noscryptutil.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/noscryptutil.h b/include/noscryptutil.h
index 20384c4..13b9231 100644
--- a/include/noscryptutil.h
+++ b/include/noscryptutil.h
@@ -40,10 +40,10 @@ extern "C" {
#define E_CIPHER_BAD_NONCE -12
#define E_CIPHER_MAC_INVALID -13
-#define NC_UTIL_CIPHER_MODE_ENCRYPT 0x00ui32
-#define NC_UTIL_CIPHER_MODE_DECRYPT 0x01ui32
-#define NC_UTIL_CIPHER_ZERO_ON_FREE 0x02ui32
-#define NC_UTIL_CIPHER_MAC_NO_VERIFY 0x04ui32
+#define NC_UTIL_CIPHER_MODE_ENCRYPT 0x00u
+#define NC_UTIL_CIPHER_MODE_DECRYPT 0x01u
+#define NC_UTIL_CIPHER_ZERO_ON_FREE 0x02u
+#define NC_UTIL_CIPHER_MAC_NO_VERIFY 0x04u
/*
* The encryption context structure. This structure is used to store the state