providercommon.h 862 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright 2019-2020 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(OPENSSL_CTX *ctx);
  12. const char *ossl_prov_util_nid_to_name(int nid);
  13. int cipher_capable_aes_cbc_hmac_sha1(void);
  14. int cipher_capable_aes_cbc_hmac_sha256(void);
  15. OSSL_FUNC_provider_get_capabilities_fn provider_get_capabilities;
  16. /* Set the error state if this is a FIPS module */
  17. void ossl_set_error_state(const char *type);
  18. /* Return true if the module is in a usable condition */
  19. int ossl_prov_is_running(void);