summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2014-07-12 20:53:20 +0200
committerkokke <spam@rowdy.dk>2014-07-12 20:53:20 +0200
commitb23d939114b755796d3d130ee27fd16457d9dd4c (patch)
tree38d5c6de5d08594d87069962f025a97b00c1dd8a
parentUpdate README.md (diff)
downloadtiny-AES-c-b23d939114b755796d3d130ee27fd16457d9dd4c.tar
tiny-AES-c-b23d939114b755796d3d130ee27fd16457d9dd4c.tar.gz
tiny-AES-c-b23d939114b755796d3d130ee27fd16457d9dd4c.tar.bz2
tiny-AES-c-b23d939114b755796d3d130ee27fd16457d9dd4c.tar.lz
tiny-AES-c-b23d939114b755796d3d130ee27fd16457d9dd4c.tar.xz
tiny-AES-c-b23d939114b755796d3d130ee27fd16457d9dd4c.tar.zst
tiny-AES-c-b23d939114b755796d3d130ee27fd16457d9dd4c.zip
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 976ffad..74a578c 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ 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);
```
-The module uses just a bit more than 200 bytes of RAM and 2.5K ROM when compiled for ARM (<2K for Thumb but YMMV).
+The module uses just a bit more than 200 bytes of RAM and 2.5K ROM when compiled for ARM (~2K for Thumb but YMMV).
It is the smallest implementation in C I've seen yet, but do contact me if you know of something smaller (or have improvements to the code here).
@@ -27,7 +27,7 @@ GCC size output when compiled for ARM:
2515 0 204 2719 a9f aes.o
-.. and when compiling for the THUMB instruction set, we end up at just below 2K in code size.
+.. and when compiling for the THUMB instruction set, we end up around 2K in code size.
$ arm-none-eabi-gcc -mthumb -Os -c aes.c
$ size aes.o