Unverified Commit 7a4af02b authored by kokke's avatar kokke Committed by GitHub
Browse files

Update aes.c

parent 4bd78e1f
......@@ -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)]);
}
}
......
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