summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2018-06-27 20:28:23 +0200
committerGitHub <noreply@github.com>2018-06-27 20:28:23 +0200
commit4b97e75fb96c08f026d545f7f8905b5daa14e9e8 (patch)
tree59bf47ad031e2a153b015c5e31e0daa9d608424d
parentUpdate README.md (diff)
downloadtiny-AES-c-4b97e75fb96c08f026d545f7f8905b5daa14e9e8.tar
tiny-AES-c-4b97e75fb96c08f026d545f7f8905b5daa14e9e8.tar.gz
tiny-AES-c-4b97e75fb96c08f026d545f7f8905b5daa14e9e8.tar.bz2
tiny-AES-c-4b97e75fb96c08f026d545f7f8905b5daa14e9e8.tar.lz
tiny-AES-c-4b97e75fb96c08f026d545f7f8905b5daa14e9e8.tar.xz
tiny-AES-c-4b97e75fb96c08f026d545f7f8905b5daa14e9e8.tar.zst
tiny-AES-c-4b97e75fb96c08f026d545f7f8905b5daa14e9e8.zip
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 399f243..e06cfdf 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,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 mutiples of 16 bytes. For padding [PKCS7](https://en.wikipedia.org/wiki/Padding_(cryptography)#PKCS7) is recommendable.
+ * 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.
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.