]> git.ipfire.org Git - thirdparty/openssl.git/blob - providers/common/include/prov/providercommon.h
prov: prefix all exposed 'cipher' symbols with ossl_
[thirdparty/openssl.git] / providers / common / include / prov / providercommon.h
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
10 #include <openssl/provider.h>
11 #include <openssl/core_dispatch.h>
12
13 const OSSL_CORE_HANDLE *FIPS_get_core_handle(OPENSSL_CTX *ctx);
14
15 const char *ossl_prov_util_nid_to_name(int nid);
16
17 int ossl_cipher_capable_aes_cbc_hmac_sha1(void);
18 int ossl_cipher_capable_aes_cbc_hmac_sha256(void);
19
20 OSSL_FUNC_provider_get_capabilities_fn provider_get_capabilities;
21
22 /* Set the error state if this is a FIPS module */
23 void ossl_set_error_state(const char *type);
24
25 /* Return true if the module is in a usable condition */
26 int ossl_prov_is_running(void);