summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2014-12-15 21:32:42 +0100
committerkokke <spam@rowdy.dk>2014-12-15 21:32:42 +0100
commit800dddc76727bb1c9cca128175c4327f5b0524d7 (patch)
treed5b72edeb6915fc85edb1182c6fe8b36ded34dd6 /README.md
parentUpdate README.md (diff)
downloadtiny-AES-c-800dddc76727bb1c9cca128175c4327f5b0524d7.tar
tiny-AES-c-800dddc76727bb1c9cca128175c4327f5b0524d7.tar.gz
tiny-AES-c-800dddc76727bb1c9cca128175c4327f5b0524d7.tar.bz2
tiny-AES-c-800dddc76727bb1c9cca128175c4327f5b0524d7.tar.lz
tiny-AES-c-800dddc76727bb1c9cca128175c4327f5b0524d7.tar.xz
tiny-AES-c-800dddc76727bb1c9cca128175c4327f5b0524d7.tar.zst
tiny-AES-c-800dddc76727bb1c9cca128175c4327f5b0524d7.zip
Diffstat (limited to '')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 6a3aa58..6ca11f0 100644
--- a/README.md
+++ b/README.md
@@ -21,11 +21,11 @@ It is the smallest implementation in C I've seen yet, but do contact me if you k
I've successfully used the code on 64bit x86, 32bit ARM and 8 bit AVR platforms.
-GCC size output when compiled for ARM:
+GCC size output when ECB mode is compiled for ARM:
- $ arm-none-eabi-gcc -Os -c aes.c
+ $ arm-none-eabi-gcc -Os -c aes.c -DCBC=0
$ size aes.o
text data bss dec hex filename
2323 0 184 2507 9cb aes.o
@@ -35,7 +35,7 @@ GCC size output when compiled for ARM:
.. 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
+ $ arm-none-eabi-gcc -mthumb -Os -c aes.c -DCBC=0
$ size aes.o
text data bss dec hex filename
1775 0 184 1959 7a7 aes.o