diff options
author | Matteo Brichese <matteo.brichese@wunderbar.com> | 2017-06-06 03:37:04 +0200 |
---|---|---|
committer | Matteo Brichese <matteo.brichese@wunderbar.com> | 2017-06-06 03:37:04 +0200 |
commit | 8592c76b4860c7bd76fd58558386e30820956641 (patch) | |
tree | a2e651ffcf5c2624e819209dd94ade5fb7494037 | |
parent | cleaning up (diff) | |
parent | Update README.md (diff) | |
download | tiny-AES-c-8592c76b4860c7bd76fd58558386e30820956641.tar tiny-AES-c-8592c76b4860c7bd76fd58558386e30820956641.tar.gz tiny-AES-c-8592c76b4860c7bd76fd58558386e30820956641.tar.bz2 tiny-AES-c-8592c76b4860c7bd76fd58558386e30820956641.tar.lz tiny-AES-c-8592c76b4860c7bd76fd58558386e30820956641.tar.xz tiny-AES-c-8592c76b4860c7bd76fd58558386e30820956641.tar.zst tiny-AES-c-8592c76b4860c7bd76fd58558386e30820956641.zip |
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,11 +10,11 @@ void AES_ECB_decrypt(uint8_t* input, const uint8_t* key, uint8_t* output); void AES_CBC_encrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, const uint8_t* key, const uint8_t* iv); void AES_CBC_decrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, const uint8_t* key, const uint8_t* iv); ``` -You can choose to use the standard 128b key or 192 by defining AES192 or 256b by defining AES256 - beta +You can choose to use the standard 128b key or 192/256b by defining the symbols AES192 or AES256 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. -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. +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 AES_ECB_xxcrypt() do most of the work, and they expect inputs of 128 bit length. The module uses around 200 bytes of RAM and 2.5K ROM when compiled for ARM (~2K for Thumb but YMMV). |