diff options
author | kokke <spam@rowdy.dk> | 2021-01-06 02:31:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-06 02:31:18 +0100 |
commit | 7279b02ac9decf032d9e519b2d400ee7d76f5e89 (patch) | |
tree | 849f4821e0d7b714ba3cded599f95a85350a652f | |
parent | Merge pull request #165 from jsiverskog/fix_warning (diff) | |
download | tiny-AES-c-7279b02ac9decf032d9e519b2d400ee7d76f5e89.tar tiny-AES-c-7279b02ac9decf032d9e519b2d400ee7d76f5e89.tar.gz tiny-AES-c-7279b02ac9decf032d9e519b2d400ee7d76f5e89.tar.bz2 tiny-AES-c-7279b02ac9decf032d9e519b2d400ee7d76f5e89.tar.lz tiny-AES-c-7279b02ac9decf032d9e519b2d400ee7d76f5e89.tar.xz tiny-AES-c-7279b02ac9decf032d9e519b2d400ee7d76f5e89.tar.zst tiny-AES-c-7279b02ac9decf032d9e519b2d400ee7d76f5e89.zip |
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -28,6 +28,7 @@ void AES_CTR_xcrypt_buffer(struct AES_ctx* ctx, uint8_t* buf, uint32_t length); Note: * No padding is provided so for CBC and ECB all buffers should be multiples of 16 bytes. For padding [PKCS7](https://en.wikipedia.org/wiki/Padding_(cryptography)#PKCS7) is recommendable. * ECB mode is considered unsafe for most uses and is not implemented in streaming mode. If you need this mode, call the function for every block of 16 bytes you need encrypted. See [wikipedia's article on ECB](https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Electronic_Codebook_(ECB)) for more details. + * This library is not super fast. It is intended for portability and small size, not high speed. OpenSSL for example, is probably much faster. You can choose to use any or all of the modes-of-operations, by defining the symbols CBC, CTR or ECB. See the header file for clarification. |