openssl/doc/internal/man3
Richard Levitte 3ca9d210c9 Refactor how KEYMGMT methods get associated with other methods
KEYMGMT methods were attached to other methods after those were fully
created and registered, thereby creating a potential data race, if two
threads tried to create the exact same method at the same time.

Instead of this, we change the method creating function to take an
extra data parameter, passed all the way from the public fetching
function.  In the case of EVP_KEYEXCH, we pass all the necessary data
that evp_keyexch_from_dispatch() needs to be able to fetch the
appropriate KEYMGMT method on the fly.

Fixes #9592

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9678)
2019-09-03 10:36:49 +02:00
..
cms_add1_signing_cert.pod CAdES : lowercase name for now internal methods. 2019-07-31 19:14:12 +10:00
DEFINE_SPARSE_ARRAY_OF.pod In documentation, consistently refer to OpenSSL 3.0 2019-07-15 15:13:41 +02:00
evp_generic_fetch.pod Refactor how KEYMGMT methods get associated with other methods 2019-09-03 10:36:49 +02:00
evp_keymgmt_export_to_provider.pod Add evp_keymgmt_clear_pkey_cache() and use it 2019-07-22 06:19:42 +02:00
evp_keymgmt_freekey.pod Add an internal API to access the KEYMGMT provider functions 2019-07-22 06:19:43 +02:00
openssl_ctx_get_data.pod Fix Typos 2019-07-02 14:22:29 +02:00
ossl_algorithm_do_all.pod Add internal function ossl_algorithm_do_all() 2019-07-23 06:34:09 +02:00
ossl_init_thread_deregister.pod Fix a doc-nits failure 2019-06-19 13:31:08 +01:00
ossl_method_construct.pod ossl_provider_upref to ossl_provider_up_ref 2019-07-02 16:30:56 +02:00
OSSL_METHOD_STORE.pod Modify ossl_method_store_add() to accept an OSSL_PROVIDER and check for it 2019-08-22 01:50:30 +02:00
ossl_namemap_new.pod Replumbing: add support for multiple names per algorithm 2019-06-24 10:58:13 +02:00
ossl_param_bld_init.pod Constify param builder string functions. 2019-08-21 15:30:56 +10:00
ossl_prov_util_nid_to_name.pod Add a nid 2 algorithm name mapping capability 2019-06-28 10:22:21 +01:00
ossl_provider_add_conf_module.pod Enhance and update the docs of the internal ossl_provider API 2019-06-24 07:57:03 +02:00
ossl_provider_new.pod Prepare EVP_MAC infrastructure for moving all MACs to providers 2019-08-15 22:12:25 +02:00
rand_bytes_ex.pod Provide rand_bytes_ex and rand_priv_bytes_ex 2019-07-02 16:49:18 +01:00