summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2017-12-01 12:05:09 +0100
committerGitHub <noreply@github.com>2017-12-01 12:05:09 +0100
commit87d5ca4b4669abba2d3e9819b312e9cdd2e74fd8 (patch)
tree6808a2da7e38c9d3e5d665b42a5ab95e83c64583
parentUpdate README.md (diff)
downloadtiny-AES-c-87d5ca4b4669abba2d3e9819b312e9cdd2e74fd8.tar
tiny-AES-c-87d5ca4b4669abba2d3e9819b312e9cdd2e74fd8.tar.gz
tiny-AES-c-87d5ca4b4669abba2d3e9819b312e9cdd2e74fd8.tar.bz2
tiny-AES-c-87d5ca4b4669abba2d3e9819b312e9cdd2e74fd8.tar.lz
tiny-AES-c-87d5ca4b4669abba2d3e9819b312e9cdd2e74fd8.tar.xz
tiny-AES-c-87d5ca4b4669abba2d3e9819b312e9cdd2e74fd8.tar.zst
tiny-AES-c-87d5ca4b4669abba2d3e9819b312e9cdd2e74fd8.zip
-rw-r--r--aes.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/aes.h b/aes.h
index 8100fba..3986cf3 100644
--- a/aes.h
+++ b/aes.h
@@ -44,8 +44,7 @@ void AES_CBC_decrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, co
#if defined(CTR) && (CTR == 1)
-
-/* Symmetrical operation: same function for encrypting as for decrypting. Note any IV/nonce should never be reused with the same key */
+/* Same function for encrypting as for decrypting. Note no IV/nonce should ever be reused with the same key */
void AES_CTR_xcrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, const uint8_t* key, const uint8_t* nonce);
#endif // #if defined(CTR) && (CTR == 1)