blob: af287a56bc61cc5d5b0722335a6693c660986ae6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
This is a small portable (and slow) implementation of AES128 in C.
AES128 ECB is symmetric, so you use the same function for encrypting and decrypting.
The module uses less than 250 bytes of RAM and ~1.5K ROM.
GCC size output when compiled for ARM:
$ arm-none-eabi-gcc -Os -c aes.c -o aes.o
$ size aes.o
text data bss dec hex filename
1079 0 204 1283 503 aes.o
|