Update README.md

This commit is contained in:
kokke 2020-03-07 02:54:49 +01:00 committed by GitHub
parent 1933872bba
commit 4229acd25e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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: