diff options
author | Čestmír Kalina <ckalina@redhat.com> | 2021-09-27 22:42:11 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2022-10-17 10:45:39 +0200 |
commit | 4574a7fd8dda070b129d76defca07703cab53842 (patch) | |
tree | a6e03446b0f784e550010a2c51efe5b7861e9473 /crypto/build.info | |
parent | ci: add thread-pool and default-thread-pool (diff) | |
download | openssl-4574a7fd8dda070b129d76defca07703cab53842.tar.xz openssl-4574a7fd8dda070b129d76defca07703cab53842.zip |
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)
Diffstat (limited to 'crypto/build.info')
-rw-r--r-- | crypto/build.info | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/build.info b/crypto/build.info index f5b29cca1c..c064351b5a 100644 --- a/crypto/build.info +++ b/crypto/build.info @@ -6,7 +6,7 @@ SUBDIRS=objects buffer bio stack lhash rand evp asn1 pem x509 conf \ siphash sm3 des aes rc2 rc4 rc5 idea aria bf cast camellia \ seed sm4 chacha modes bn ec rsa dsa dh sm2 dso engine \ err comp http ocsp cms ts srp cmac ct async ess crmf cmp encode_decode \ - ffc hpke + ffc hpke thread LIBS=../libcrypto |