From 20894622729c9cfbde2fb1f6fcbfead473ef843b Mon Sep 17 00:00:00 2001 From: Matteo Brichese Date: Tue, 6 Jun 2017 11:10:33 -0700 Subject: adding aes256 aes192 options --- aes.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'aes.h') diff --git a/aes.h b/aes.h index 9c5d786..1c8af6c 100644 --- a/aes.h +++ b/aes.h @@ -18,13 +18,12 @@ #define ECB 1 #endif -#define AES128 - +#define AES256 #if defined(ECB) && ECB -void AES_ECB_encrypt(const uint8_t* input, const uint8_t* key, uint8_t *output); -void AES_ECB_decrypt(const uint8_t* input, const uint8_t* key, uint8_t *output); +void AES_ECB_encrypt(const uint8_t* input, const uint8_t* key, uint8_t *output, const uint32_t length); +void AES_ECB_decrypt(const uint8_t* input, const uint8_t* key, uint8_t *output, const uint32_t length); #endif // #if defined(ECB) && ECB -- cgit v1.2.3