diff options
author | kokke <spam@rowdy.dk> | 2020-03-07 02:54:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-07 02:54:49 +0100 |
commit | 4229acd25ee89e480a5b72ca28348801f677a182 (patch) | |
tree | 8a2478404d8eb2c503a3964dcc50f79c028d6ce3 | |
parent | Merge pull request #157 from dmitrystu/optimized-loop (diff) | |
download | tiny-AES-c-4229acd25ee89e480a5b72ca28348801f677a182.tar tiny-AES-c-4229acd25ee89e480a5b72ca28348801f677a182.tar.gz tiny-AES-c-4229acd25ee89e480a5b72ca28348801f677a182.tar.bz2 tiny-AES-c-4229acd25ee89e480a5b72ca28348801f677a182.tar.lz tiny-AES-c-4229acd25ee89e480a5b72ca28348801f677a182.tar.xz tiny-AES-c-4229acd25ee89e480a5b72ca28348801f677a182.tar.zst tiny-AES-c-4229acd25ee89e480a5b72ca28348801f677a182.zip |
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -47,14 +47,14 @@ GCC size output when only CTR mode is compiled for ARM: $ arm-none-eabi-gcc -Os -DCBC=0 -DECB=0 -DCTR=1 -c aes.c $ size aes.o text data bss dec hex filename - 1343 0 0 1343 53f aes.o + 1171 0 0 1171 493 aes.o -.. and when compiling for the THUMB instruction set, we end up just below 1K in code size. +.. and when compiling for the THUMB instruction set, we end up well below 1K in code size. $ arm-none-eabi-gcc -Os -mthumb -DCBC=0 -DECB=0 -DCTR=1 -c aes.c $ size aes.o text data bss dec hex filename - 979 0 0 979 3d3 aes.o + 903 0 0 903 387 aes.o I am using the Free Software Foundation, ARM GCC compiler: |