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
4229acd2
Unverified
Commit
4229acd2
authored
Mar 07, 2020
by
kokke
Committed by
GitHub
Mar 07, 2020
Browse files
Update README.md
parent
1933872b
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
4229acd2
...
...
@@ -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
1
343
0 0 1
343
53f
aes.o
1
171
0 0 1
171
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
9
79
0 0 9
79
3
d3
aes.o
9
03
0 0 9
03
3
87
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