openssl/crypto/encode_decode
Richard Levitte e1eafe8c87 "Reserve" the method store when constructing methods
Introducing the concept of reserving the store where a number of
provided operation methods are to be stored.

This avoids racing when constructing provided methods, which is
especially pertinent when multiple threads are trying to fetch the
same method, or even any implementation for the same given operation
type.

This introduces a |biglock| in OSSL_METHOD_STORE, which is separate
from the |lock| which is used for more internal and finer grained
locking.

Fixes #18152

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18153)
2022-07-20 07:28:17 +01:00
..
build.info
decoder_err.c
decoder_lib.c Fix another decoder mem leak on an error path 2022-06-02 10:31:12 +01:00
decoder_meth.c "Reserve" the method store when constructing methods 2022-07-20 07:28:17 +01:00
decoder_pkey.c Update copyright year 2022-05-03 13:34:51 +01:00
encoder_err.c
encoder_lib.c Update copyright year 2022-05-03 13:34:51 +01:00
encoder_local.h Update copyright year 2022-05-03 13:34:51 +01:00
encoder_meth.c "Reserve" the method store when constructing methods 2022-07-20 07:28:17 +01:00
encoder_pkey.c Update copyright year 2022-05-03 13:34:51 +01:00