Commit 205f97af authored by kokke's avatar kokke
Browse files

Update README.md

parent 8462765b
...@@ -2,6 +2,13 @@ ...@@ -2,6 +2,13 @@
This is a small and portable implementation of the AES128 ECB encryption algorithm implemented in C. 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). 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). 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).
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment