From ffe42b6858f112a00405be4f0605ab1163063749 Mon Sep 17 00:00:00 2001 From: vnugent Date: Sat, 13 Jul 2024 22:13:13 -0400 Subject: test: Add decryption test cases and fixes --- include/noscryptutil.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') 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 -- cgit