providercommon.h 824 B

123456789101112131415161718192021222324
  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. #include <openssl/provider.h>
  10. #include <openssl/core_dispatch.h>
  11. const OSSL_CORE_HANDLE *FIPS_get_core_handle(OSSL_LIB_CTX *ctx);
  12. int ossl_cipher_capable_aes_cbc_hmac_sha1(void);
  13. int ossl_cipher_capable_aes_cbc_hmac_sha256(void);
  14. OSSL_FUNC_provider_get_capabilities_fn ossl_prov_get_capabilities;
  15. /* Set the error state if this is a FIPS module */
  16. void ossl_set_error_state(const char *type);
  17. /* Return true if the module is in a usable condition */
  18. int ossl_prov_is_running(void);