The 'counter' is really the IV.
authorRichard Levitte <levitte@openssl.org>
Thu, 3 Jul 2003 06:42:43 +0000 (06:42 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 3 Jul 2003 06:42:43 +0000 (06:42 +0000)
crypto/aes/aes.h

index 7f4b0e8066ee934352784fb06d57025e4e3ee6ae..6bc0cf00a9a08f885760ff8af07b5c95c8794952 100644 (file)
@@ -102,7 +102,7 @@ void AES_ofb128_encrypt(const unsigned char *in, unsigned char *out,
        unsigned char *ivec, int *num);
 void AES_ctr128_encrypt(const unsigned char *in, unsigned char *out,
        const unsigned long length, const AES_KEY *key,
-       unsigned char counter[AES_BLOCK_SIZE],
+       unsigned char ivec[AES_BLOCK_SIZE],
        unsigned char ecount_buf[AES_BLOCK_SIZE],
        unsigned int *num);