tiny-AES-c/README

16 lines
406 B
Plaintext
Raw Normal View History

2014-05-29 02:29:06 +02:00
This is a small portable (and slow) implementation of AES128 in C.
2014-05-29 02:43:12 +02:00
AES128 ECB is symmetric, so you use the same function for encrypting and decrypting.
2014-05-29 02:29:06 +02:00
The module uses less than 250 bytes of RAM and ~1.5K ROM.
2014-05-29 02:43:12 +02:00
GCC size output when compiled for ARM:
2014-05-29 02:43:28 +02:00
$ arm-none-eabi-gcc -Os -c aes.c -o aes.o
$ size aes.o
2014-05-29 03:50:24 +02:00
text data bss dec hex filename
1079 0 204 1283 503 aes.o
2014-05-29 02:43:12 +02:00