summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2017-12-01 12:05:18 +0100
committerGitHub <noreply@github.com>2017-12-01 12:05:18 +0100
commitc09f0dee5f174ccab55133cbb25e61b770960650 (patch)
tree64c7243567aad1cef0eb0c3f833bd895cf15666b
parentUpdate aes.h (diff)
downloadtiny-AES-c-c09f0dee5f174ccab55133cbb25e61b770960650.tar
tiny-AES-c-c09f0dee5f174ccab55133cbb25e61b770960650.tar.gz
tiny-AES-c-c09f0dee5f174ccab55133cbb25e61b770960650.tar.bz2
tiny-AES-c-c09f0dee5f174ccab55133cbb25e61b770960650.tar.lz
tiny-AES-c-c09f0dee5f174ccab55133cbb25e61b770960650.tar.xz
tiny-AES-c-c09f0dee5f174ccab55133cbb25e61b770960650.tar.zst
tiny-AES-c-c09f0dee5f174ccab55133cbb25e61b770960650.zip
-rw-r--r--aes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/aes.h b/aes.h
index 3986cf3..351243c 100644
--- a/aes.h
+++ b/aes.h
@@ -44,6 +44,7 @@ void AES_CBC_decrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, co
#if defined(CTR) && (CTR == 1)
+
/* 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);