Update aes.c

This commit is contained in:
kokke
2017-12-01 12:11:03 +01:00
committed by GitHub
parent fbaaf6199c
commit bacca1bd0c

3
aes.c
View File

@@ -609,7 +609,8 @@ void AES_CTR_xcrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, con
Key = key;
KeyExpansion();
int i, j;
int j;
unsigned i;
for (i = 0; i < length; ++i)
{
if ((i & (BLOCKLEN - 1)) == 0)