summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2014-05-31 00:45:42 +0200
committerkokke <spam@rowdy.dk>2014-05-31 00:45:42 +0200
commit4358f241caf487103b8800bd2ce42ecd64277300 (patch)
tree172b2c18774ee6e2db5677490727783204786197 /README.md
parentUpdate README.md (diff)
downloadtiny-AES-c-4358f241caf487103b8800bd2ce42ecd64277300.tar
tiny-AES-c-4358f241caf487103b8800bd2ce42ecd64277300.tar.gz
tiny-AES-c-4358f241caf487103b8800bd2ce42ecd64277300.tar.bz2
tiny-AES-c-4358f241caf487103b8800bd2ce42ecd64277300.tar.lz
tiny-AES-c-4358f241caf487103b8800bd2ce42ecd64277300.tar.xz
tiny-AES-c-4358f241caf487103b8800bd2ce42ecd64277300.tar.zst
tiny-AES-c-4358f241caf487103b8800bd2ce42ecd64277300.zip
Diffstat (limited to '')
-rw-r--r--README.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/README.md b/README.md
index 987f3d1..ba39523 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@
### Tiny AES128 in C
-This is a small portable implementation of AES128 in C. This is the smallest implementation in C I've seen yet, but if you find something smaller (or have improvements for the code in this project) please contact me or fork the project.
+This is a small and portable implementation of the AES128 algorithm implemented in C.
+The module uses just a bit more than 200 bytes of RAM and 1K 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).
-The code is tested on Intel 64bit, 32bit ARM Cortex-M3 and 8 bit Atmel Mega16.
-The module uses just a bit more than 200 bytes of RAM and 1K ROM when compiled for ARM.
-YMMV depending on target platform and optimization skills of your compiler.
+I've successfully used the code on 64bit x86, 32bit ARM and 8 bit AVR platforms.
GCC size output when compiled for ARM:
@@ -33,4 +33,5 @@ Somehow, -O2 is a bit smaller than -Os with this compiler. I am using Mentor Gra
The implementation is verified against the data in:
[National Institute of Standards and Technology Special Publication 800-38A 2001 ED](http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf) Appendix F: Example Vectors for Modes of Operation of the AES.
-Note: AES128 ECB is symmetric, so you use the same function for encrypting and decrypting.
+
+