summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aes.c b/aes.c
index 4d240b0..dd17d46 100644
--- a/aes.c
+++ b/aes.c
@@ -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)]);
}
}