openssl/include/internal
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
..
__DECC_INCLUDE_EPILOGUE.H Following the license change, modify the boilerplates in include/ and crypto/include/ 2018-12-06 15:57:31 +01:00
__DECC_INCLUDE_PROLOGUE.H Following the license change, modify the boilerplates in include/ and crypto/include/ 2018-12-06 15:57:31 +01:00
bio.h bio: Linux TLS Rx Offload 2019-04-01 11:54:48 +01:00
comp.h Following the license change, modify the boilerplates in include/ and crypto/include/ 2018-12-06 15:57:31 +01:00
conf.h More configurable crypto and ssl library initialization 2019-01-07 14:02:28 -05:00
constant_time_locl.h Add value_barriers in constant time select functions 2019-07-18 15:55:19 +02:00
core.h In provider implemented methods, save the name number, not the name string 2019-09-19 14:58:17 +02:00
cryptlib.h drbg: ensure fork-safety without using a pthread_atfork handler 2019-09-11 11:22:18 +02:00
dane.h Following the license change, modify the boilerplates in include/ and crypto/include/ 2018-12-06 15:57:31 +01:00
dso.h Following the license change, modify the boilerplates in include/ and crypto/include/ 2018-12-06 15:57:31 +01:00
dsoerr.h Regenerate mkerr files 2019-07-16 05:26:28 +02:00
err.h Following the license change, modify the boilerplates in include/ and crypto/include/ 2018-12-06 15:57:31 +01:00
ktls.h Linux ktls sendfile 2019-05-07 14:24:16 +01:00
md5_sha1.h Move digests to providers 2019-06-04 12:09:50 +10:00
namemap.h In provider implemented methods, save the name number, not the name string 2019-09-19 14:58:17 +02:00
nelem.h Following the license change, modify the boilerplates in include/ and crypto/include/ 2018-12-06 15:57:31 +01:00
numbers.h Remove tab characters from C source files. 2019-07-16 20:24:10 +10:00
o_dir.h Following the license change, modify the boilerplates in include/ and crypto/include/ 2018-12-06 15:57:31 +01:00
packet.h Give WPACKET the ability to have a NULL buffer underneath it 2019-07-12 06:26:46 +10:00
param_build.h Fix ossl_param_bld_push_{utf8,octet}_string() / param_bld_convert() 2019-08-21 11:18:58 +02:00
property.h Make sure we pre-initialise properties 2019-08-29 10:50:47 +01:00
propertyerr.h Regenerate mkerr files 2019-07-16 05:26:28 +02:00
provider.h Prepare EVP_MAC infrastructure for moving all MACs to providers 2019-08-15 22:12:25 +02:00
refcount.h Fix Compiler error/warning for windows icl build 2019-09-18 15:26:19 +10:00
sha3.h Move digests to providers 2019-06-04 12:09:50 +10:00
sm3.h Move digests to providers 2019-06-04 12:09:50 +10:00
sockets.h Cleanup vxworks support to be able to compile for VxWorks 7 2019-01-24 17:55:04 +01:00
sslconf.h Following the license change, modify the boilerplates in include/ and crypto/include/ 2018-12-06 15:57:31 +01:00
symhacks.h Rename provider and core get_param_types functions 2019-08-15 11:58:25 +02:00
thread_once.h Prevent the use of RUN_ONCE inside the FIPS module 2019-07-04 17:11:07 +01:00
tsan_assist.h Fix Typos 2019-07-02 14:22:29 +02:00