Update README.md
This commit is contained in:
@@ -5,8 +5,8 @@ This is a small and portable implementation of the AES128 ECB encryption algorit
|
|||||||
The API is very simple and looks like this (I am using C99 `<stdint.h>`-style annotated types):
|
The API is very simple and looks like this (I am using C99 `<stdint.h>`-style annotated types):
|
||||||
|
|
||||||
```C
|
```C
|
||||||
void AES128_ECB_encrypt(uint8_t* input, uint8_t* key, uint8_t* output);
|
void AES128_ECB_encrypt(uint8_t* input, const uint8_t* key, uint8_t* output);
|
||||||
void AES128_ECB_decrypt(uint8_t* input, uint8_t* key, uint8_t* output);
|
void AES128_ECB_decrypt(uint8_t* input, const uint8_t* key, uint8_t* output);
|
||||||
```
|
```
|
||||||
|
|
||||||
The module uses around 200 bytes of RAM and 2.5K ROM when compiled for ARM (~2K for Thumb but YMMV).
|
The module uses around 200 bytes of RAM and 2.5K ROM when compiled for ARM (~2K for Thumb but YMMV).
|
||||||
|
|||||||
Reference in New Issue
Block a user