]> git.ipfire.org Git - thirdparty/openssl.git/blame - providers/implementations/ciphers/cipher_aes_xts_fips.c
Add ossl_provider symbols
[thirdparty/openssl.git] / providers / implementations / ciphers / cipher_aes_xts_fips.c
CommitLineData
dec95d75 1/*
33388b44 2 * Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
dec95d75
RL
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
c72fa255
MC
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
dec95d75
RL
17#include "cipher_aes_xts.h"
18
f844f9eb 19#ifdef FIPS_MODULE
c8830891 20const int ossl_aes_xts_allow_insecure_decrypt = 0;
dec95d75 21#else
c8830891 22const int ossl_aes_xts_allow_insecure_decrypt = 1;
f844f9eb 23#endif /* FIPS_MODULE */