summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2015-11-10 23:27:08 +0100
committerkokke <spam@rowdy.dk>2015-11-10 23:27:08 +0100
commit7e42e693288bdf22d8e677da94248115168211b9 (patch)
tree69187bddef681c3a22310d4fabe620f2d0ddad1c /README.md
parentUpdate README.md (diff)
downloadtiny-AES-c-7e42e693288bdf22d8e677da94248115168211b9.tar
tiny-AES-c-7e42e693288bdf22d8e677da94248115168211b9.tar.gz
tiny-AES-c-7e42e693288bdf22d8e677da94248115168211b9.tar.bz2
tiny-AES-c-7e42e693288bdf22d8e677da94248115168211b9.tar.lz
tiny-AES-c-7e42e693288bdf22d8e677da94248115168211b9.tar.xz
tiny-AES-c-7e42e693288bdf22d8e677da94248115168211b9.tar.zst
tiny-AES-c-7e42e693288bdf22d8e677da94248115168211b9.zip
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index ac16c3d..81eaf09 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,6 @@
This is a small and portable implementation of the AES128 ECB and CBC encryption algorithms written in C.
-There is no built-in error checking or protection from out-of-bounds memory access errors as a result of malicious input.
-
The API is very simple and looks like this (I am using C99 `<stdint.h>`-style annotated types):
```C
@@ -15,10 +13,11 @@ void AES128_CBC_decrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length,
You can choose to use one or both of the modes-of-operation, by defining the symbols CBC and ECB. See the header file for clarification.
-The module uses around 200 bytes of RAM and 2.5K ROM when compiled for ARM (~2K for Thumb but YMMV).
+There is no built-in error checking or protection from out-of-bounds memory access errors as a result of malicious input. The two functions AES128_ECB_xxcrypt() do most of the work, and they expect inputs of 128 bit length.
-It is one of 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). I am a bit slow to react to pull requests and issues, but I have an ambition to go through all issues sometime in the future and release a stable version.
+The module uses around 200 bytes of RAM and 2.5K ROM when compiled for ARM (~2K for Thumb but YMMV).
+It is one of 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).
I've successfully used the code on 64bit x86, 32bit ARM and 8 bit AVR platforms.
@@ -63,3 +62,4 @@ This implementation is verified against the data in:
All material in this repository is in the public domain.
+I am a bit slow to react to pull requests and issues, but I have an ambition to go through all issues sometime in the future and release a stable version.