summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2014-07-12 02:24:10 +0200
committerkokke <spam@rowdy.dk>2014-07-12 02:24:10 +0200
commit205f97aff0cefbc51f0e8800798620cb69f641be (patch)
treeaaf5ff6d485b5a98168a733a391f32c9527962eb /README.md
parentUpdate README.md (diff)
downloadtiny-AES-c-205f97aff0cefbc51f0e8800798620cb69f641be.tar
tiny-AES-c-205f97aff0cefbc51f0e8800798620cb69f641be.tar.gz
tiny-AES-c-205f97aff0cefbc51f0e8800798620cb69f641be.tar.bz2
tiny-AES-c-205f97aff0cefbc51f0e8800798620cb69f641be.tar.lz
tiny-AES-c-205f97aff0cefbc51f0e8800798620cb69f641be.tar.xz
tiny-AES-c-205f97aff0cefbc51f0e8800798620cb69f641be.tar.zst
tiny-AES-c-205f97aff0cefbc51f0e8800798620cb69f641be.zip
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index e23fd2e..0e083f0 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,13 @@
This is a small and portable implementation of the AES128 ECB encryption algorithm implemented in C.
+The API is very simple and looks like this (I am using stdint.h annotated types):
+
+
+ void AES128_ECB_encrypt(uint8_t* input, uint8_t* key, uint8_t *output);
+ void AES128_ECB_decrypt(uint8_t* input, uint8_t* key, uint8_t *output);
+
+
The module uses just a bit more than 200 bytes of RAM and 2.5K 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).