]> git.ipfire.org Git - thirdparty/openssl.git/blob - include/crypto/context.h
providers: Add SM4 XTS implementation
[thirdparty/openssl.git] / include / crypto / context.h
1 /*
2 * Copyright 2022 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/core.h>
11
12 void *ossl_provider_store_new(OSSL_LIB_CTX *);
13 void *ossl_property_string_data_new(OSSL_LIB_CTX *);
14 void *ossl_stored_namemap_new(OSSL_LIB_CTX *);
15 void *ossl_property_defns_new(OSSL_LIB_CTX *);
16 void *ossl_ctx_global_properties_new(OSSL_LIB_CTX *);
17 void *ossl_rand_ctx_new(OSSL_LIB_CTX *);
18 void *ossl_prov_conf_ctx_new(OSSL_LIB_CTX *);
19 void *ossl_bio_core_globals_new(OSSL_LIB_CTX *);
20 void *ossl_child_prov_ctx_new(OSSL_LIB_CTX *);
21 void *ossl_prov_drbg_nonce_ctx_new(OSSL_LIB_CTX *);
22 void *ossl_self_test_set_callback_new(OSSL_LIB_CTX *);
23 void *ossl_rand_crng_ctx_new(OSSL_LIB_CTX *);
24 void *ossl_thread_event_ctx_new(OSSL_LIB_CTX *);
25 void *ossl_fips_prov_ossl_ctx_new(OSSL_LIB_CTX *);
26 #if defined(OPENSSL_THREADS)
27 void *ossl_threads_ctx_new(OSSL_LIB_CTX *);
28 #endif
29
30 void ossl_provider_store_free(void *);
31 void ossl_property_string_data_free(void *);
32 void ossl_stored_namemap_free(void *);
33 void ossl_property_defns_free(void *);
34 void ossl_ctx_global_properties_free(void *);
35 void ossl_rand_ctx_free(void *);
36 void ossl_prov_conf_ctx_free(void *);
37 void ossl_bio_core_globals_free(void *);
38 void ossl_child_prov_ctx_free(void *);
39 void ossl_prov_drbg_nonce_ctx_free(void *);
40 void ossl_self_test_set_callback_free(void *);
41 void ossl_rand_crng_ctx_free(void *);
42 void ossl_thread_event_ctx_free(void *);
43 void ossl_fips_prov_ossl_ctx_free(void *);
44 void ossl_release_default_drbg_ctx(void);
45 #if defined(OPENSSL_THREADS)
46 void ossl_threads_ctx_free(void *);
47 #endif