openssl/doc/internal/man3
Richard Levitte f7c16d48a9 In provider implemented methods, save the name number, not the name string
Multiple names per implementation is already supported in the namemap,
but hasn't been used yet.  However, as soon as we have multiple names,
we will get an issue with what name should be saved in the method.

The solution is to not save the name itself, but rather the number
it's associated with.  This number is supposed to be unique for each
set of names, and we assume that algorithm names are globally unique,
i.e. there can be no name overlap between different algorithm types.

Incidently, it was also found that the 'get' function used by
ossl_construct_method() doesn't need all the parameters it was given;
most of what it needs, it can now get through the data structure given
by the caller of ossl_construct_method().  As a consequence,
ossl_construct_method() itself doesn't need all the parameters it was
given either.

There are some added internal functions that are expected to disappear
as soon as legacy code is removed, such as evp_first_name() and
ossl_namemap_num2name().

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9897)
2019-09-19 14:58:17 +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 In provider implemented methods, save the name number, not the name string 2019-09-19 14:58:17 +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
ossl_method_construct.pod In provider implemented methods, save the name number, not the name string 2019-09-19 14:58:17 +02:00
OSSL_METHOD_STORE.pod Fix typos in the OSSL_METHOD_STORE doc 2019-09-09 13:19:19 +02:00
ossl_namemap_new.pod
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
ossl_provider_add_conf_module.pod
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