From ba64c2cc8f2d1820bb47051606ca803bdfe1e072 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 3 Jul 2003 06:42:45 +0000 Subject: [PATCH] The 'counter' is really the IV. --- crypto/aes/aes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/aes/aes.h b/crypto/aes/aes.h index 8294a41a3a..da067f4a8f 100644 --- a/crypto/aes/aes.h +++ b/crypto/aes/aes.h @@ -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); -- 2.25.1