From 0fe59118d1b69816fb30259e8987aecd3d4e94c5 Mon Sep 17 00:00:00 2001 From: AquaticAzelf Date: Fri, 28 Aug 2026 12:38:46 +0600 Subject: [PATCH] fix: allow AES128 override via compile flag (#244) --- aes.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/aes.h b/aes.h index b29b668..143b7d6 100644 --- a/aes.h +++ b/aes.h @@ -24,9 +24,13 @@ #endif +#ifndef AES128 +#ifndef AES192 +#ifndef AES256 #define AES128 1 -//#define AES192 1 -//#define AES256 1 +#endif +#endif +#endif #define AES_BLOCKLEN 16 // Block length in bytes - AES is 128b block only