diff options
author | kokke <spam@rowdy.dk> | 2014-12-11 00:10:38 +0100 |
---|---|---|
committer | kokke <spam@rowdy.dk> | 2014-12-11 00:10:38 +0100 |
commit | 36970e1696107bb7e19996cc90decca92047810d (patch) | |
tree | 99c3f6524013fa988c1b7b1d27fa921e48abdefb | |
parent | Update aes.h (diff) | |
download | tiny-AES-c-36970e1696107bb7e19996cc90decca92047810d.tar tiny-AES-c-36970e1696107bb7e19996cc90decca92047810d.tar.gz tiny-AES-c-36970e1696107bb7e19996cc90decca92047810d.tar.bz2 tiny-AES-c-36970e1696107bb7e19996cc90decca92047810d.tar.lz tiny-AES-c-36970e1696107bb7e19996cc90decca92047810d.tar.xz tiny-AES-c-36970e1696107bb7e19996cc90decca92047810d.tar.zst tiny-AES-c-36970e1696107bb7e19996cc90decca92047810d.zip |
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,8 +5,8 @@ This is a small and portable implementation of the AES128 ECB encryption algorit The API is very simple and looks like this (I am using C99 `<stdint.h>`-style annotated types): ```C -void AES128_ECB_encrypt(uint8_t* input, uint8_t* key, uint8_t* output); -void AES128_ECB_decrypt(uint8_t* input, uint8_t* key, uint8_t* output); +void AES128_ECB_encrypt(uint8_t* input, const uint8_t* key, uint8_t* output); +void AES128_ECB_decrypt(uint8_t* input, const uint8_t* key, uint8_t* output); ``` The module uses around 200 bytes of RAM and 2.5K ROM when compiled for ARM (~2K for Thumb but YMMV). |