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 09:45:39 +0100 |
commit | 4574a7fd8dda070b129d76defca07703cab53842 (patch) | |
tree | a6e03446b0f784e550010a2c51efe5b7861e9473 /test/certs/timing-cert.pem | |
parent | b1372197496650c3cb318cade911a3bd6af14adc (diff) | |
download | openssl-new-4574a7fd8dda070b129d76defca07703cab53842.tar.gz |
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 'test/certs/timing-cert.pem')
0 files changed, 0 insertions, 0 deletions