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

index 8294a41a3ad6a7e9e3f4e0e4b9d5992f24651fe2..da067f4a8fa51b3fc9a36d93a67ad4abe8601663 100644 (file)
@@ -100,7 +100,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);