Update aes.c

This commit is contained in:
kokke 2017-12-01 01:20:01 +01:00 committed by GitHub
parent 7a4af02bef
commit 75a0057562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
aes.c
View File

@ -614,7 +614,7 @@ void AES_CTR_xcrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, con
if ((i & 0x0F) == 0)
{
memcpy(buffer, counter, BLOCKLEN);
state = (state_t *) buffer;
state = (state_t*)buffer;
Cipher();
for (j = (BLOCKLEN - 1); j >= 0; --j)