summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2014-07-12 02:11:37 +0200
committerkokke <spam@rowdy.dk>2014-07-12 02:11:37 +0200
commit448acb512aeb9b7bafb2721f010d8bf2d54bb49b (patch)
tree93c5d1484c170ef18cfe3fd1bd910185213d0f50
parentUpdate README.md (diff)
downloadtiny-AES-c-448acb512aeb9b7bafb2721f010d8bf2d54bb49b.tar
tiny-AES-c-448acb512aeb9b7bafb2721f010d8bf2d54bb49b.tar.gz
tiny-AES-c-448acb512aeb9b7bafb2721f010d8bf2d54bb49b.tar.bz2
tiny-AES-c-448acb512aeb9b7bafb2721f010d8bf2d54bb49b.tar.lz
tiny-AES-c-448acb512aeb9b7bafb2721f010d8bf2d54bb49b.tar.xz
tiny-AES-c-448acb512aeb9b7bafb2721f010d8bf2d54bb49b.tar.zst
tiny-AES-c-448acb512aeb9b7bafb2721f010d8bf2d54bb49b.zip
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index ad35748..c5464dc 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,8 @@
### Tiny AES128 in C
-This is a small and portable implementation of the AES128 ECB encryption algorithm implemented in C. I haven't finished the decryption part yet, but it will come.
+This is a small and portable implementation of the AES128 ECB encryption algorithm implemented in C.
-The module uses just a bit more than 200 bytes of RAM and 1K ROM when compiled for ARM (YMMV).
+The module uses just a bit more than 200 bytes of RAM and 2.7K ROM when compiled for ARM (YMMV).
It is the smallest implementation in C I've seen yet, but do contact me if you know of something smaller (or have improvements to the code here).
@@ -14,10 +14,10 @@ GCC size output when compiled for ARM:
- $ arm-none-eabi-gcc -Os -c -mthumb aes.c -o aes.o
+ $ arm-none-eabi-gcc -Os -c aes.c
$ size aes.o
text data bss dec hex filename
- 1107 0 204 1311 51f aes.o
+ 2515 0 204 2719 a9f aes.o
I am using Mentor Graphics free ARM toolchain: