summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2017-12-01 01:20:01 +0100
committerGitHub <noreply@github.com>2017-12-01 01:20:01 +0100
commit75a0057562198c6186e140b7c09a341f99455a4f (patch)
treece64d33995c50116055f4b1a3a7d46c32ba017b7
parentUpdate aes.c (diff)
downloadtiny-AES-c-75a0057562198c6186e140b7c09a341f99455a4f.tar
tiny-AES-c-75a0057562198c6186e140b7c09a341f99455a4f.tar.gz
tiny-AES-c-75a0057562198c6186e140b7c09a341f99455a4f.tar.bz2
tiny-AES-c-75a0057562198c6186e140b7c09a341f99455a4f.tar.lz
tiny-AES-c-75a0057562198c6186e140b7c09a341f99455a4f.tar.xz
tiny-AES-c-75a0057562198c6186e140b7c09a341f99455a4f.tar.zst
tiny-AES-c-75a0057562198c6186e140b7c09a341f99455a4f.zip
-rw-r--r--aes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aes.c b/aes.c
index dd17d46..32f3552 100644
--- a/aes.c
+++ b/aes.c
@@ -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)