Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Tiny AES C
Commits
4097cc59
Unverified
Commit
4097cc59
authored
Dec 06, 2017
by
kokke
Committed by
GitHub
Dec 06, 2017
Browse files
Update README.md
parent
5268e93e
Changes
1
Show whitespace changes
Inline
Side-by-side
README.md
View file @
4097cc59
...
...
@@ -45,14 +45,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
1
155
0
184
1
339
53b
aes.o
1
203
0
0
1
203
4b3
aes.o
.. and when compiling for the THUMB instruction set, we end up just above 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
8
55 0
184
1039
40f
aes.o
9
55 0
0
955
3bb
aes.o
I am using the Free Software Foundation, ARM GCC compiler:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment