context.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * Copyright 2022-2023 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/core.h>
  10. void *ossl_provider_store_new(OSSL_LIB_CTX *);
  11. void *ossl_property_string_data_new(OSSL_LIB_CTX *);
  12. void *ossl_stored_namemap_new(OSSL_LIB_CTX *);
  13. void *ossl_property_defns_new(OSSL_LIB_CTX *);
  14. void *ossl_ctx_global_properties_new(OSSL_LIB_CTX *);
  15. void *ossl_rand_ctx_new(OSSL_LIB_CTX *);
  16. void *ossl_prov_conf_ctx_new(OSSL_LIB_CTX *);
  17. void *ossl_bio_core_globals_new(OSSL_LIB_CTX *);
  18. void *ossl_child_prov_ctx_new(OSSL_LIB_CTX *);
  19. void *ossl_prov_drbg_nonce_ctx_new(OSSL_LIB_CTX *);
  20. void *ossl_self_test_set_callback_new(OSSL_LIB_CTX *);
  21. void *ossl_rand_crng_ctx_new(OSSL_LIB_CTX *);
  22. int ossl_thread_register_fips(OSSL_LIB_CTX *);
  23. void *ossl_thread_event_ctx_new(OSSL_LIB_CTX *);
  24. void *ossl_fips_prov_ossl_ctx_new(OSSL_LIB_CTX *);
  25. #if defined(OPENSSL_THREADS)
  26. void *ossl_threads_ctx_new(OSSL_LIB_CTX *);
  27. #endif
  28. void ossl_provider_store_free(void *);
  29. void ossl_property_string_data_free(void *);
  30. void ossl_stored_namemap_free(void *);
  31. void ossl_property_defns_free(void *);
  32. void ossl_ctx_global_properties_free(void *);
  33. void ossl_rand_ctx_free(void *);
  34. void ossl_prov_conf_ctx_free(void *);
  35. void ossl_bio_core_globals_free(void *);
  36. void ossl_child_prov_ctx_free(void *);
  37. void ossl_prov_drbg_nonce_ctx_free(void *);
  38. void ossl_self_test_set_callback_free(void *);
  39. void ossl_rand_crng_ctx_free(void *);
  40. void ossl_thread_event_ctx_free(void *);
  41. void ossl_fips_prov_ossl_ctx_free(void *);
  42. void ossl_release_default_drbg_ctx(void);
  43. #if defined(OPENSSL_THREADS)
  44. void ossl_threads_ctx_free(void *);
  45. #endif