diff --git a/crypto/evp/e_aes.c b/crypto/evp/e_aes.c index a6d1b5da9f..019c9107c6 100644 --- a/crypto/evp/e_aes.c +++ b/crypto/evp/e_aes.c @@ -404,8 +404,7 @@ static const EVP_CIPHER aes_128_gcm_cipher= NID_aes_128_gcm,1,16,12, EVP_CIPH_GCM_MODE|EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CUSTOM_IV | EVP_CIPH_FLAG_CUSTOM_CIPHER - | EVP_CIPH_ALWAYS_CALL_INIT | EVP_CIPH_CTRL_INIT - | EVP_CIPH_FLAG_FIPS, + | EVP_CIPH_ALWAYS_CALL_INIT | EVP_CIPH_CTRL_INIT, aes_gcm_init_key, aes_gcm, aes_gcm_cleanup, @@ -424,8 +423,7 @@ static const EVP_CIPHER aes_192_gcm_cipher= NID_aes_128_gcm,1,24,12, EVP_CIPH_GCM_MODE|EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CUSTOM_IV | EVP_CIPH_FLAG_CUSTOM_CIPHER - | EVP_CIPH_ALWAYS_CALL_INIT | EVP_CIPH_CTRL_INIT - | EVP_CIPH_FLAG_FIPS, + | EVP_CIPH_ALWAYS_CALL_INIT | EVP_CIPH_CTRL_INIT, aes_gcm_init_key, aes_gcm, aes_gcm_cleanup, @@ -444,8 +442,7 @@ static const EVP_CIPHER aes_256_gcm_cipher= NID_aes_128_gcm,1,32,12, EVP_CIPH_GCM_MODE|EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CUSTOM_IV | EVP_CIPH_FLAG_CUSTOM_CIPHER - | EVP_CIPH_ALWAYS_CALL_INIT | EVP_CIPH_CTRL_INIT - | EVP_CIPH_FLAG_FIPS, + | EVP_CIPH_ALWAYS_CALL_INIT | EVP_CIPH_CTRL_INIT, aes_gcm_init_key, aes_gcm, aes_gcm_cleanup,