From: Dr. Stephen Henson Date: Sun, 7 Mar 2010 15:54:26 +0000 (+0000) Subject: although AES is a variable length cipher, AES EVP methods have a fixed key length X-Git-Tag: OpenSSL-fips-2_0-rc1~1214 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=069d4cfea58379336028d34d32793de6365f75fc;p=oweals%2Fopenssl.git although AES is a variable length cipher, AES EVP methods have a fixed key length --- diff --git a/crypto/evp/e_aes.c b/crypto/evp/e_aes.c index 2096399631..d6ba037dcf 100644 --- a/crypto/evp/e_aes.c +++ b/crypto/evp/e_aes.c @@ -111,7 +111,7 @@ static int aes_counter (EVP_CIPHER_CTX *ctx, unsigned char *out, static const EVP_CIPHER aes_128_ctr_cipher= { NID_aes_128_ctr,1,16,16, - EVP_CIPH_VARIABLE_LENGTH|EVP_CIPH_CUSTOM_IV, + EVP_CIPH_CUSTOM_IV, aes_init_key, aes_counter, NULL, @@ -128,7 +128,7 @@ const EVP_CIPHER *EVP_aes_128_ctr (void) static const EVP_CIPHER aes_192_ctr_cipher= { NID_aes_192_ctr,1,24,16, - EVP_CIPH_VARIABLE_LENGTH|EVP_CIPH_CUSTOM_IV, + EVP_CIPH_CUSTOM_IV, aes_init_key, aes_counter, NULL, @@ -145,7 +145,7 @@ const EVP_CIPHER *EVP_aes_192_ctr (void) static const EVP_CIPHER aes_256_ctr_cipher= { NID_aes_256_ctr,1,32,16, - EVP_CIPH_VARIABLE_LENGTH|EVP_CIPH_CUSTOM_IV, + EVP_CIPH_CUSTOM_IV, aes_init_key, aes_counter, NULL,