1 /*
2  * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
3  *
4  * Licensed under the Apache License 2.0 (the "License").  You may not use
5  * this file except in compliance with the License.  You can obtain a copy
6  * in the file LICENSE in the source distribution or at
7  * https://www.openssl.org/source/license.html
8  */
9 
10 /*
11  * AES low level APIs are deprecated for public use, but still ok for internal
12  * use where we're using them to implement the higher level EVP interface, as is
13  * the case here.
14  */
15 #include "internal/deprecated.h"
16 
17 #include "cipher_aes_xts.h"
18 
19 #ifdef FIPS_MODULE
20 const int ossl_aes_xts_allow_insecure_decrypt = 0;
21 #else
22 const int ossl_aes_xts_allow_insecure_decrypt = 1;
23 #endif /* FIPS_MODULE */
24