Allow AES CFB1 ciphers in FIPS mode.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 11 May 2005 16:28:33 +0000 (16:28 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 11 May 2005 16:28:33 +0000 (16:28 +0000)
crypto/evp/e_aes.c

index f35036c9d76e48aaf5524448fb889fc26924050f..7b67984fa105570930866bce214d21c368bcf1b4 100644 (file)
@@ -86,9 +86,9 @@ IMPLEMENT_BLOCK_CIPHER(aes_256, ks, AES, EVP_AES_KEY,
 
 #define IMPLEMENT_AES_CFBR(ksize,cbits,flags)  IMPLEMENT_CFBR(aes,AES,EVP_AES_KEY,ks,ksize,cbits,16,flags)
 
-IMPLEMENT_AES_CFBR(128,1,0)
-IMPLEMENT_AES_CFBR(192,1,0)
-IMPLEMENT_AES_CFBR(256,1,0)
+IMPLEMENT_AES_CFBR(128,1,EVP_CIPH_FLAG_FIPS)
+IMPLEMENT_AES_CFBR(192,1,EVP_CIPH_FLAG_FIPS)
+IMPLEMENT_AES_CFBR(256,1,EVP_CIPH_FLAG_FIPS)
 
 IMPLEMENT_AES_CFBR(128,8,EVP_CIPH_FLAG_FIPS)
 IMPLEMENT_AES_CFBR(192,8,EVP_CIPH_FLAG_FIPS)