Unverified Commit 75a00575 authored by kokke's avatar kokke Committed by GitHub
Browse files

Update aes.c

parent 7a4af02b
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment