summaryrefslogtreecommitdiffstats
path: root/crypto/aes
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-07-03 06:42:45 +0000
committerRichard Levitte <levitte@openssl.org>2003-07-03 06:42:45 +0000
commitba64c2cc8f2d1820bb47051606ca803bdfe1e072 (patch)
treeb747ff023cbbca5278229acd6ae9c3513f2a6c45 /crypto/aes
parent29e62e487f6768f11726d005085eb9f919ac7d84 (diff)
The 'counter' is really the IV.
Diffstat (limited to 'crypto/aes')
-rw-r--r--crypto/aes/aes.h2
1 files changed, 1 insertions, 1 deletions
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);