mirror of
https://github.com/kokke/tiny-AES-c.git
synced 2025-01-08 12:36:19 +08:00
Update aes.c
This commit is contained in:
parent
fbaaf6199c
commit
bacca1bd0c
3
aes.c
3
aes.c
@ -609,7 +609,8 @@ void AES_CTR_xcrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, con
|
|||||||
Key = key;
|
Key = key;
|
||||||
KeyExpansion();
|
KeyExpansion();
|
||||||
|
|
||||||
int i, j;
|
int j;
|
||||||
|
unsigned i;
|
||||||
for (i = 0; i < length; ++i)
|
for (i = 0; i < length; ++i)
|
||||||
{
|
{
|
||||||
if ((i & (BLOCKLEN - 1)) == 0)
|
if ((i & (BLOCKLEN - 1)) == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user