openssl/util
Čestmír Kalina 4574a7fd8d crypto: add preemptive threading support
Some primitives are designed to be used in a multi-threaded environment,
if supported, e.g., Argon2.

This patch adds support for preemptive threading and basic synchronization
primitives for platforms compliant with POSIX threads or Windows CRT.
Native functions are wrapped to provide a common (internal) API.

Threading support can be disabled at compile time. If enabled, threading
is disabled by default and needs to be explicitly enabled by the user.

Thread enablement requires an explicit limit on the number of threads that
OpenSSL may spawn (non-negative integer/infinity). The limit may be changed.

Signed-off-by: Čestmír Kalina <ckalina@redhat.com>

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12255)
2022-10-17 09:45:39 +01:00
..
perl OpenSSL::config: Fix trivial bugs 2022-09-29 12:59:00 +01:00
add-depends.pl
build.info
c-compress-test.pl
cavs-to-evptest.pl
check-format-test-negatives.c check-format.pl: improve whitespace reporting on <op>= 2022-09-02 21:32:46 +02:00
check-format-test-positives.c check-format.pl: improve whitespace reporting on <op>= 2022-09-02 21:32:46 +02:00
check-format.pl check-format.pl: improve whitespace reporting on <op>= 2022-09-02 21:32:46 +02:00
check-malloc-errs
ck_errf.pl
copy.pl
dofile.pl
echo.pl
engines.num
err-to-raise
find-doc-nits
find-unused-errs
fips-checksums.sh
fix-deprecation
fix-includes
fix-includes.sed
indent.pro Rename DTLS1_BITMAP to DTLS_BITMAP 2022-08-18 16:38:14 +01:00
lang-compress.pl
libcrypto.num crypto: add preemptive threading support 2022-10-17 09:45:39 +01:00
libssl.num Change all references to OpenSSL 3.1 to OpenSSL 3.2 in the master branch 2022-10-07 10:05:50 +02:00
local_shlib.com.in
markdownlint.rb
merge-err-lines
missingcrypto111.txt
missingcrypto-internal.txt
missingcrypto.txt Add documentation for the OPENSSL_gmtime functions 2022-09-26 07:57:01 +01:00
missingmacro111.txt
missingmacro.txt
missingssl111.txt
missingssl-internal.txt
missingssl.txt
mk-fipsmodule-cnf.pl
mkbuildinf.pl
mkdef.pl Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:28 +11:00
mkdir-p.pl
mkerr.pl Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:28 +11:00
mknum.pl
mkpod2html.pl
mkrc.pl
mktar.sh
opensslwrap.sh
other-internal.syms
other.syms Allow PKCS12 export to set arbitrary bag attributes 2022-09-23 17:40:02 +01:00
providers.num
shlib_wrap.sh.in
su-filter.pl
unlocal_shlib.com.in
withlibctx.pl
wrap.pl.in util/wrap.pl.in: Use parentheses so kill gets all its arguments 2022-09-15 08:42:23 +02:00
write-man-symlinks