X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilccrypt%2Faes.c;h=020cc552d2484627afec92abe07d87e832c182c1;hb=a7296412f802e94898180847274056f029825179;hp=88877978407582fd38ea1357c69ec10ad1025391;hpb=57473153b7fa6fcb0cdb55cba4f455cabfa21937;p=silc.git diff --git a/lib/silccrypt/aes.c b/lib/silccrypt/aes.c index 88877978..020cc552 100644 --- a/lib/silccrypt/aes.c +++ b/lib/silccrypt/aes.c @@ -149,13 +149,13 @@ SILC_CIPHER_API_CONTEXT_LEN(aes_ctr) } /* Encrypts with the cipher in CTR mode. Source and destination buffers - maybe one and same. Assumes MSB first ordered counter. */ + may be one and same. Assumes MSB first ordered counter. */ SILC_CIPHER_API_ENCRYPT(aes_ctr) { AesContext *aes = context; SilcUInt32 ctr[4]; - int i = 16; + int i; SILC_GET32_MSB(ctr[0], iv); SILC_GET32_MSB(ctr[1], iv + 4);