diff options
author | kokke <spam@rowdy.dk> | 2017-12-01 01:15:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-01 01:15:33 +0100 |
commit | 7a4af02bef35f6d6cad308c115ef5fb141d19ad5 (patch) | |
tree | 05b6ad4d5932584b06d87adf4381fd068761444d | |
parent | Update README.md (diff) | |
download | tiny-AES-c-7a4af02bef35f6d6cad308c115ef5fb141d19ad5.tar tiny-AES-c-7a4af02bef35f6d6cad308c115ef5fb141d19ad5.tar.gz tiny-AES-c-7a4af02bef35f6d6cad308c115ef5fb141d19ad5.tar.bz2 tiny-AES-c-7a4af02bef35f6d6cad308c115ef5fb141d19ad5.tar.lz tiny-AES-c-7a4af02bef35f6d6cad308c115ef5fb141d19ad5.tar.xz tiny-AES-c-7a4af02bef35f6d6cad308c115ef5fb141d19ad5.tar.zst tiny-AES-c-7a4af02bef35f6d6cad308c115ef5fb141d19ad5.zip |
-rw-r--r-- | aes.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -628,7 +628,7 @@ void AES_CTR_xcrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, con } } - output[i] = (input[i]) ^ (buffer[i & 0x0F]); + output[i] = (input[i] ^ buffer[(i & 0x0F)]); } } |