From: Richard Levitte Date: Thu, 3 Jul 2003 06:42:43 +0000 (+0000) Subject: The 'counter' is really the IV. X-Git-Tag: BEN_FIPS_TEST_1~38^2~25 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=da6c44fc97c2913287e2b58fb09485ebf36d6b8b;p=oweals%2Fopenssl.git The 'counter' is really the IV. --- diff --git a/crypto/aes/aes.h b/crypto/aes/aes.h index 7f4b0e8066..6bc0cf00a9 100644 --- a/crypto/aes/aes.h +++ b/crypto/aes/aes.h @@ -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);