]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add new CRYPTO_THREAD_[get|set]_local_ex api
authorNeil Horman <nhorman@openssl.org>
Thu, 12 Jun 2025 17:09:56 +0000 (13:09 -0400)
committerNeil Horman <nhorman@openssl.org>
Fri, 20 Jun 2025 17:01:39 +0000 (13:01 -0400)
commitc1c2a333d34871f6210f2b5fb21ee631c4fb319e
tree608fd9b167bd72be9e99db38dbe8bd1da8e5a652
parentbe7467f5a0aa098531597b95a71be6d7c2a463c7
Add new CRYPTO_THREAD_[get|set]_local_ex api

As opposed to CRYPTO_THREAD_[get|set]_local counterparts

These api use an ennumerated set of fixed key ids, that allow for
thread-local storage indexed by key AND libctx value.  They also store
this data against a single OS level thread-local key, reducing the
amount of (limited) thread-local key storage space we use

Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27794)
crypto/build.info
crypto/threads_common.c [new file with mode: 0644]
include/internal/threads_common.h [new file with mode: 0644]
providers/fips/self_test.c