diff options
author | Matteo Brichese <matteo.brichese@wunderbar.com> | 2017-06-06 20:10:33 +0200 |
---|---|---|
committer | Matteo Brichese <matteo.brichese@wunderbar.com> | 2017-06-06 20:10:33 +0200 |
commit | 20894622729c9cfbde2fb1f6fcbfead473ef843b (patch) | |
tree | 20a2d600055066eb2f7f976d250dee3f747224ca /aes.h | |
parent | Merge branch 'master' of https://github.com/bricke/tiny-AES128-C (diff) | |
download | tiny-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 'aes.h')
-rw-r--r-- | aes.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |