-/* $OpenBSD: e_aes.c,v 1.44 2022/08/04 08:00:11 jsing Exp $ */
+/* $OpenBSD: e_aes.c,v 1.45 2022/08/04 08:02:31 jsing Exp $ */
/* ====================================================================
* Copyright (c) 2001-2011 The OpenSSL Project. All rights reserved.
*
.block_size = 16,
.key_len = 128 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CBC_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CBC_MODE,
.init = aesni_init_key,
.do_cipher = aesni_cbc_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 16,
.key_len = 128 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CBC_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CBC_MODE,
.init = aes_init_key,
.do_cipher = aes_cbc_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 16,
.key_len = 128 / 8,
.iv_len = 0,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_ECB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_ECB_MODE,
.init = aesni_init_key,
.do_cipher = aesni_ecb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 16,
.key_len = 128 / 8,
.iv_len = 0,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_ECB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_ECB_MODE,
.init = aes_init_key,
.do_cipher = aes_ecb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 128 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_OFB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_OFB_MODE,
.init = aesni_init_key,
.do_cipher = aes_ofb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 128 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_OFB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_OFB_MODE,
.init = aes_init_key,
.do_cipher = aes_ofb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 128 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CFB_MODE,
.init = aesni_init_key,
.do_cipher = aes_cfb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 128 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CFB_MODE,
.init = aes_init_key,
.do_cipher = aes_cfb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 128 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_CFB_MODE,
.init = aesni_init_key,
.do_cipher = aes_cfb1_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 128 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_CFB_MODE,
.init = aes_init_key,
.do_cipher = aes_cfb1_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 128 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_CFB_MODE,
.init = aesni_init_key,
.do_cipher = aes_cfb8_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 128 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_CFB_MODE,
.init = aes_init_key,
.do_cipher = aes_cfb8_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 128 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CTR_MODE,
+ .flags = EVP_CIPH_CTR_MODE,
.init = aesni_init_key,
.do_cipher = aes_ctr_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 128 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CTR_MODE,
+ .flags = EVP_CIPH_CTR_MODE,
.init = aes_init_key,
.do_cipher = aes_ctr_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 16,
.key_len = 192 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CBC_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CBC_MODE,
.init = aesni_init_key,
.do_cipher = aesni_cbc_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 16,
.key_len = 192 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CBC_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CBC_MODE,
.init = aes_init_key,
.do_cipher = aes_cbc_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 16,
.key_len = 192 / 8,
.iv_len = 0,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_ECB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_ECB_MODE,
.init = aesni_init_key,
.do_cipher = aesni_ecb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 16,
.key_len = 192 / 8,
.iv_len = 0,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_ECB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_ECB_MODE,
.init = aes_init_key,
.do_cipher = aes_ecb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 192 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_OFB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_OFB_MODE,
.init = aesni_init_key,
.do_cipher = aes_ofb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 192 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_OFB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_OFB_MODE,
.init = aes_init_key,
.do_cipher = aes_ofb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 192 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CFB_MODE,
.init = aesni_init_key,
.do_cipher = aes_cfb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 192 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CFB_MODE,
.init = aes_init_key,
.do_cipher = aes_cfb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 192 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_CFB_MODE,
.init = aesni_init_key,
.do_cipher = aes_cfb1_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 192 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_CFB_MODE,
.init = aes_init_key,
.do_cipher = aes_cfb1_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 192 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_CFB_MODE,
.init = aesni_init_key,
.do_cipher = aes_cfb8_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 192 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_CFB_MODE,
.init = aes_init_key,
.do_cipher = aes_cfb8_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 192 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CTR_MODE,
+ .flags = EVP_CIPH_CTR_MODE,
.init = aesni_init_key,
.do_cipher = aes_ctr_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 192 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CTR_MODE,
+ .flags = EVP_CIPH_CTR_MODE,
.init = aes_init_key,
.do_cipher = aes_ctr_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 16,
.key_len = 256 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CBC_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CBC_MODE,
.init = aesni_init_key,
.do_cipher = aesni_cbc_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 16,
.key_len = 256 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CBC_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CBC_MODE,
.init = aes_init_key,
.do_cipher = aes_cbc_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 16,
.key_len = 256 / 8,
.iv_len = 0,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_ECB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_ECB_MODE,
.init = aesni_init_key,
.do_cipher = aesni_ecb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 16,
.key_len = 256 / 8,
.iv_len = 0,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_ECB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_ECB_MODE,
.init = aes_init_key,
.do_cipher = aes_ecb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 256 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_OFB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_OFB_MODE,
.init = aesni_init_key,
.do_cipher = aes_ofb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 256 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_OFB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_OFB_MODE,
.init = aes_init_key,
.do_cipher = aes_ofb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 256 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CFB_MODE,
.init = aesni_init_key,
.do_cipher = aes_cfb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 256 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_FLAG_DEFAULT_ASN1 | EVP_CIPH_CFB_MODE,
.init = aes_init_key,
.do_cipher = aes_cfb_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 256 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_CFB_MODE,
.init = aesni_init_key,
.do_cipher = aes_cfb1_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 256 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_CFB_MODE,
.init = aes_init_key,
.do_cipher = aes_cfb1_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 256 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_CFB_MODE,
.init = aesni_init_key,
.do_cipher = aes_cfb8_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 256 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CFB_MODE,
+ .flags = EVP_CIPH_CFB_MODE,
.init = aes_init_key,
.do_cipher = aes_cfb8_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 256 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CTR_MODE,
+ .flags = EVP_CIPH_CTR_MODE,
.init = aesni_init_key,
.do_cipher = aes_ctr_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
.block_size = 1,
.key_len = 256 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS | EVP_CIPH_CTR_MODE,
+ .flags = EVP_CIPH_CTR_MODE,
.init = aes_init_key,
.do_cipher = aes_ctr_cipher,
.ctx_size = sizeof(EVP_AES_KEY),
(EVP_CIPH_GCM_MODE == EVP_CIPH_XTS_MODE ? 2 : 1) *
128 / 8,
.iv_len = 12,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_AEAD_CIPHER|CUSTOM_FLAGS | EVP_CIPH_GCM_MODE,
+ .flags = EVP_CIPH_FLAG_AEAD_CIPHER|CUSTOM_FLAGS | EVP_CIPH_GCM_MODE,
.init = aesni_gcm_init_key,
.do_cipher = aes_gcm_cipher,
.cleanup = aes_gcm_cleanup,
(EVP_CIPH_GCM_MODE == EVP_CIPH_XTS_MODE ? 2 : 1) *
128 / 8,
.iv_len = 12,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_AEAD_CIPHER|CUSTOM_FLAGS | EVP_CIPH_GCM_MODE,
+ .flags = EVP_CIPH_FLAG_AEAD_CIPHER|CUSTOM_FLAGS | EVP_CIPH_GCM_MODE,
.init = aes_gcm_init_key,
.do_cipher = aes_gcm_cipher,
.cleanup = aes_gcm_cleanup,
(EVP_CIPH_GCM_MODE == EVP_CIPH_XTS_MODE ? 2 : 1) *
192 / 8,
.iv_len = 12,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_AEAD_CIPHER|CUSTOM_FLAGS | EVP_CIPH_GCM_MODE,
+ .flags = EVP_CIPH_FLAG_AEAD_CIPHER|CUSTOM_FLAGS | EVP_CIPH_GCM_MODE,
.init = aesni_gcm_init_key,
.do_cipher = aes_gcm_cipher,
.cleanup = aes_gcm_cleanup,
(EVP_CIPH_GCM_MODE == EVP_CIPH_XTS_MODE ? 2 : 1) *
192 / 8,
.iv_len = 12,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_AEAD_CIPHER|CUSTOM_FLAGS | EVP_CIPH_GCM_MODE,
+ .flags = EVP_CIPH_FLAG_AEAD_CIPHER|CUSTOM_FLAGS | EVP_CIPH_GCM_MODE,
.init = aes_gcm_init_key,
.do_cipher = aes_gcm_cipher,
.cleanup = aes_gcm_cleanup,
(EVP_CIPH_GCM_MODE == EVP_CIPH_XTS_MODE ? 2 : 1) *
256 / 8,
.iv_len = 12,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_AEAD_CIPHER|CUSTOM_FLAGS | EVP_CIPH_GCM_MODE,
+ .flags = EVP_CIPH_FLAG_AEAD_CIPHER|CUSTOM_FLAGS | EVP_CIPH_GCM_MODE,
.init = aesni_gcm_init_key,
.do_cipher = aes_gcm_cipher,
.cleanup = aes_gcm_cleanup,
(EVP_CIPH_GCM_MODE == EVP_CIPH_XTS_MODE ? 2 : 1) *
256 / 8,
.iv_len = 12,
- .flags = EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_AEAD_CIPHER|CUSTOM_FLAGS | EVP_CIPH_GCM_MODE,
+ .flags = EVP_CIPH_FLAG_AEAD_CIPHER|CUSTOM_FLAGS | EVP_CIPH_GCM_MODE,
.init = aes_gcm_init_key,
.do_cipher = aes_gcm_cipher,
.cleanup = aes_gcm_cleanup,
(EVP_CIPH_XTS_MODE == EVP_CIPH_XTS_MODE ? 2 : 1) *
128 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|XTS_FLAGS | EVP_CIPH_XTS_MODE,
+ .flags = XTS_FLAGS | EVP_CIPH_XTS_MODE,
.init = aesni_xts_init_key,
.do_cipher = aes_xts_cipher,
.cleanup = aes_xts_cleanup,
(EVP_CIPH_XTS_MODE == EVP_CIPH_XTS_MODE ? 2 : 1) *
128 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|XTS_FLAGS | EVP_CIPH_XTS_MODE,
+ .flags = XTS_FLAGS | EVP_CIPH_XTS_MODE,
.init = aes_xts_init_key,
.do_cipher = aes_xts_cipher,
.cleanup = aes_xts_cleanup,
(EVP_CIPH_XTS_MODE == EVP_CIPH_XTS_MODE ? 2 : 1) *
256 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|XTS_FLAGS | EVP_CIPH_XTS_MODE,
+ .flags = XTS_FLAGS | EVP_CIPH_XTS_MODE,
.init = aesni_xts_init_key,
.do_cipher = aes_xts_cipher,
.cleanup = aes_xts_cleanup,
(EVP_CIPH_XTS_MODE == EVP_CIPH_XTS_MODE ? 2 : 1) *
256 / 8,
.iv_len = 16,
- .flags = EVP_CIPH_FLAG_FIPS|XTS_FLAGS | EVP_CIPH_XTS_MODE,
+ .flags = XTS_FLAGS | EVP_CIPH_XTS_MODE,
.init = aes_xts_init_key,
.do_cipher = aes_xts_cipher,
.cleanup = aes_xts_cleanup,
(EVP_CIPH_CCM_MODE == EVP_CIPH_XTS_MODE ? 2 : 1) *
128 / 8,
.iv_len = 12,
- .flags = EVP_CIPH_FLAG_FIPS|CUSTOM_FLAGS | EVP_CIPH_CCM_MODE,
+ .flags = CUSTOM_FLAGS | EVP_CIPH_CCM_MODE,
.init = aesni_ccm_init_key,
.do_cipher = aes_ccm_cipher,
.cleanup = aes_ccm_cleanup,
(EVP_CIPH_CCM_MODE == EVP_CIPH_XTS_MODE ? 2 : 1) *
128 / 8,
.iv_len = 12,
- .flags = EVP_CIPH_FLAG_FIPS|CUSTOM_FLAGS | EVP_CIPH_CCM_MODE,
+ .flags = CUSTOM_FLAGS | EVP_CIPH_CCM_MODE,
.init = aes_ccm_init_key,
.do_cipher = aes_ccm_cipher,
.cleanup = aes_ccm_cleanup,
(EVP_CIPH_CCM_MODE == EVP_CIPH_XTS_MODE ? 2 : 1) *
192 / 8,
.iv_len = 12,
- .flags = EVP_CIPH_FLAG_FIPS|CUSTOM_FLAGS | EVP_CIPH_CCM_MODE,
+ .flags = CUSTOM_FLAGS | EVP_CIPH_CCM_MODE,
.init = aesni_ccm_init_key,
.do_cipher = aes_ccm_cipher,
.cleanup = aes_ccm_cleanup,
(EVP_CIPH_CCM_MODE == EVP_CIPH_XTS_MODE ? 2 : 1) *
192 / 8,
.iv_len = 12,
- .flags = EVP_CIPH_FLAG_FIPS|CUSTOM_FLAGS | EVP_CIPH_CCM_MODE,
+ .flags = CUSTOM_FLAGS | EVP_CIPH_CCM_MODE,
.init = aes_ccm_init_key,
.do_cipher = aes_ccm_cipher,
.cleanup = aes_ccm_cleanup,
(EVP_CIPH_CCM_MODE == EVP_CIPH_XTS_MODE ? 2 : 1) *
256 / 8,
.iv_len = 12,
- .flags = EVP_CIPH_FLAG_FIPS|CUSTOM_FLAGS | EVP_CIPH_CCM_MODE,
+ .flags = CUSTOM_FLAGS | EVP_CIPH_CCM_MODE,
.init = aesni_ccm_init_key,
.do_cipher = aes_ccm_cipher,
.cleanup = aes_ccm_cleanup,
(EVP_CIPH_CCM_MODE == EVP_CIPH_XTS_MODE ? 2 : 1) *
256 / 8,
.iv_len = 12,
- .flags = EVP_CIPH_FLAG_FIPS|CUSTOM_FLAGS | EVP_CIPH_CCM_MODE,
+ .flags = CUSTOM_FLAGS | EVP_CIPH_CCM_MODE,
.init = aes_ccm_init_key,
.do_cipher = aes_ccm_cipher,
.cleanup = aes_ccm_cleanup,