summaryrefslogtreecommitdiffstats
path: root/aes.h
diff options
context:
space:
mode:
authorMatteo Brichese <matteo.brichese@wunderbar.com>2017-06-06 20:10:33 +0200
committerMatteo Brichese <matteo.brichese@wunderbar.com>2017-06-06 20:10:33 +0200
commit20894622729c9cfbde2fb1f6fcbfead473ef843b (patch)
tree20a2d600055066eb2f7f976d250dee3f747224ca /aes.h
parentMerge branch 'master' of https://github.com/bricke/tiny-AES128-C (diff)
downloadtiny-AES-c-20894622729c9cfbde2fb1f6fcbfead473ef843b.tar
tiny-AES-c-20894622729c9cfbde2fb1f6fcbfead473ef843b.tar.gz
tiny-AES-c-20894622729c9cfbde2fb1f6fcbfead473ef843b.tar.bz2
tiny-AES-c-20894622729c9cfbde2fb1f6fcbfead473ef843b.tar.lz
tiny-AES-c-20894622729c9cfbde2fb1f6fcbfead473ef843b.tar.xz
tiny-AES-c-20894622729c9cfbde2fb1f6fcbfead473ef843b.tar.zst
tiny-AES-c-20894622729c9cfbde2fb1f6fcbfead473ef843b.zip
Diffstat (limited to '')
-rw-r--r--aes.h7
1 files changed, 3 insertions, 4 deletions
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