cipher_aes_xts_fips.c 737 B

1234567891011121314151617181920212223
  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. * AES low level APIs are deprecated for public use, but still ok for internal
  11. * use where we're using them to implement the higher level EVP interface, as is
  12. * the case here.
  13. */
  14. #include "internal/deprecated.h"
  15. #include "cipher_aes_xts.h"
  16. #ifdef FIPS_MODULE
  17. const int ossl_aes_xts_allow_insecure_decrypt = 0;
  18. #else
  19. const int ossl_aes_xts_allow_insecure_decrypt = 1;
  20. #endif /* FIPS_MODULE */