summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2017-12-06 02:50:59 +0100
committerGitHub <noreply@github.com>2017-12-06 02:50:59 +0100
commit019272ef3617a8ec1d33ab66827bd35ead640827 (patch)
tree3803389ae6db00b5555d1b6998348d14dd750ac2 /README.md
parentUpdate README.md (diff)
downloadtiny-AES-c-019272ef3617a8ec1d33ab66827bd35ead640827.tar
tiny-AES-c-019272ef3617a8ec1d33ab66827bd35ead640827.tar.gz
tiny-AES-c-019272ef3617a8ec1d33ab66827bd35ead640827.tar.bz2
tiny-AES-c-019272ef3617a8ec1d33ab66827bd35ead640827.tar.lz
tiny-AES-c-019272ef3617a8ec1d33ab66827bd35ead640827.tar.xz
tiny-AES-c-019272ef3617a8ec1d33ab66827bd35ead640827.tar.zst
tiny-AES-c-019272ef3617a8ec1d33ab66827bd35ead640827.zip
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3c2191b..e3f3d89 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,7 @@ void AES_CTR_xcrypt_buffer(struct AES_ctx* ctx, uint8_t* buf, uint32_t length);
Note:
* No padding is provided so all buffers should be mutiples 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 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.
+ * 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.