openssl/crypto
Vincent Drake f70863d9dd Use read/write locking on Windows
Fixes #13914

The "SRWLock" synchronization primitive is available in Windows Vista
and later.  CRYPTO_THREAD functions now use SRWLock functions when the
target operating system supports them.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14381)
2021-03-11 10:33:06 +00:00
..
aes remove unused initialisations 2020-12-03 11:22:06 +10:00
aria
asn1 Reword repeated words. 2021-03-09 16:25:45 +10:00
async Update copyright year 2021-01-07 13:38:50 +00:00
bf
bio Add a real type for OSSL_CORE_BIO which is distinct from and not castable to BIO 2021-03-11 09:25:57 +10:00
bn bn_ctx.c: Remove TODO 3.0 related to tracing in FIPS module 2021-03-04 14:15:01 +01:00
buffer Update copyright year 2020-11-26 14:18:57 +00:00
camellia
cast
chacha
cmac
cmp cmp_hdr.c: Fix minor Coverity issue CID 1473605 2021-03-09 11:02:41 +01:00
cms Fix external symbols for cms. 2021-02-22 09:16:36 +10:00
comp Update copyright year 2020-11-26 14:18:57 +00:00
conf Update copyright year 2021-01-28 13:54:57 +01:00
crmf crmf: updates for the new additional MAC_init arguments 2021-02-28 17:25:48 +10:00
ct Reword repeated words. 2021-03-09 16:25:45 +10:00
des Update copyright year 2021-01-28 13:54:57 +01:00
dh Make the EVP_PKEY_get0* functions have a const return type 2021-03-08 15:13:09 +00:00
dsa Fix external symbols related to dsa keys 2021-02-26 10:50:30 +10:00
dso Update copyright year 2020-11-26 14:18:57 +00:00
ec Make the EVP_PKEY_get0* functions have a const return type 2021-03-08 15:13:09 +00:00
encode_decode Add a real type for OSSL_CORE_BIO which is distinct from and not castable to BIO 2021-03-11 09:25:57 +10:00
engine Drop OPENSSL_NO_RSA everywhere 2020-12-20 12:19:42 +01:00
err Fix reason code: EVP_R_OPERATON_NOT_INITIALIZED 2021-03-11 12:19:40 +10:00
ess Fix external symbols for cms. 2021-02-22 09:16:36 +10:00
evp Fix reason code: EVP_R_OPERATON_NOT_INITIALIZED 2021-03-11 12:19:40 +10:00
ffc Fix external symbols for bn 2021-02-26 10:32:22 +10:00
hmac
http HTTP: Fix BIO_mem_d2i() on NULL mem input 2021-03-06 16:18:18 +01:00
idea
kdf
lhash Update copyright year 2020-11-26 14:18:57 +00:00
md2
md4
md5 Update copyright year 2020-11-26 14:18:57 +00:00
mdc2
modes CRYPTO_gcm128_decrypt: fix mac or tag calculation 2021-02-19 12:24:03 +01:00
objects Update copyright year 2021-02-18 15:05:17 +00:00
ocsp Simplify OCSP_sendreq_bio() 2021-03-06 16:18:18 +01:00
pem Make the EVP_PKEY_get0* functions have a const return type 2021-03-08 15:13:09 +00:00
perlasm
pkcs7 Fix external symbols for pkcs7. 2021-02-22 09:16:37 +10:00
pkcs12 Change default algorithms in PKCS12_create() and PKCS12_set_mac() 2021-03-10 17:12:48 +01:00
poly1305
property ERR: Rebuild all generated error headers and source files 2020-11-24 15:22:33 +01:00
rand rand: use params argument on instantiate call 2021-02-28 17:25:49 +10:00
rc2
rc4
rc5
ripemd
rsa ossl_rsa_sp800_56b_check_public: Be more lenient with small keys 2021-03-03 12:53:19 +01:00
seed
sha Update copyright year 2020-11-26 14:18:57 +00:00
siphash siphash: Add the C and D round parameters for SipHash. 2021-02-28 17:25:48 +10:00
sm2 Fix external symbols related to ec & sm2 keys 2021-02-26 10:53:01 +10:00
sm3
sm4
srp Update copyright year 2021-02-18 15:05:17 +00:00
stack Update copyright year 2021-02-18 15:05:17 +00:00
store Add a real type for OSSL_CORE_BIO which is distinct from and not castable to BIO 2021-03-11 09:25:57 +10:00
ts Fix external symbols for cms. 2021-02-22 09:16:36 +10:00
txt_db
ui ERR: Rebuild all generated error headers and source files 2020-11-24 15:22:33 +01:00
whrlpool Reword repeated words. 2021-03-09 16:25:45 +10:00
x509 Reword repeated words. 2021-03-09 16:25:45 +10:00
alphacpuid.pl
arm64cpuid.pl Read MIDR_EL1 system register on aarch64 2020-12-09 16:17:17 +01:00
arm_arch.h Read MIDR_EL1 system register on aarch64 2020-12-09 16:17:17 +01:00
armcap.c Update copyright year 2021-01-28 13:54:57 +01:00
armv4cpuid.pl
asn1_dsa.c
bsearch.c
build.info Fix no-threads 2020-12-14 10:45:27 +10:00
c64xpluscpuid.pl
context.c Always ensure we hold ctx->lock when calling CRYPTO_get_ex_data() 2021-02-02 12:21:21 +00:00
core_algorithm.c provider: add an unquery function to allow providers to clean up. 2021-02-24 21:24:36 +10:00
core_fetch.c Update copyright year 2021-01-28 13:54:57 +01:00
core_namemap.c Don't hold a lock when calling a callback in ossl_namemap_doall_names 2021-02-25 08:37:22 +10:00
cpt_err.c openssl_hexstr2buf_sep(): Prevent misleading 'malloc failure' errors on short input 2020-12-10 15:19:55 +01:00
cryptlib.c Reword repeated words. 2021-03-09 16:25:45 +10:00
ctype.c
cversion.c
der_writer.c
dllmain.c
ebcdic.c
ex_data.c Update copyright year 2021-02-18 15:05:17 +00:00
getenv.c
ia64cpuid.S
info.c
init.c Optimise OPENSSL_init_crypto 2020-12-31 13:14:38 +01:00
initthread.c Update copyright year 2021-01-28 13:54:57 +01:00
LPdir_nyi.c
LPdir_unix.c
LPdir_vms.c
LPdir_win32.c
LPdir_win.c
LPdir_wince.c
mem_clr.c
mem_sec.c Add MAP_CONCEAL from OpenBSD which has similar purpose but on mmap 2020-12-08 18:27:07 +01:00
mem.c
mips_arch.h
o_dir.c
o_fopen.c Update copyright year 2020-11-26 14:18:57 +00:00
o_init.c
o_str.c openssl_hexstr2buf_sep(): Prevent misleading 'malloc failure' errors on short input 2020-12-10 15:19:55 +01:00
o_time.c Fix an integer overflow in o_time.c 2021-02-25 08:39:07 +10:00
packet.c
param_build_set.c crypto/param_build_set.c: Remove irrelevant TODO 3.0 2021-03-04 14:15:01 +01:00
param_build.c Fix string termination and length setting in OSSL_PARAM_BLD_push_utf8_string() 2021-02-24 19:50:10 +01:00
params_from_text.c Fix OSSL_PARAM_allocate_from_text() for OSSL_PARAM_UTF8_STRING 2021-02-24 19:50:10 +01:00
params.c OSSL_PARAM: Correct the assumptions on the UTF8 string length 2021-02-18 16:58:17 +01:00
pariscid.pl
passphrase.c
ppc_arch.h
ppccap.c crypto/ppccap.c: Remove useless TODO 3.0 2021-03-04 14:15:01 +01:00
ppccpuid.pl
provider_conf.c provider: add option to load a provider without disabling the fallbacks. 2021-02-23 23:24:41 +10:00
provider_core.c Add a real type for OSSL_CORE_BIO which is distinct from and not castable to BIO 2021-03-11 09:25:57 +10:00
provider_local.h
provider_predefined.c
provider.c provider: add an unquery function to allow providers to clean up. 2021-02-24 21:24:36 +10:00
punycode.c
README-sparse_array.md
s390x_arch.h
s390xcap.c
s390xcpuid.pl
self_test_core.c
sparc_arch.h
sparccpuid.S
sparcv9cap.c
sparse_array.c
threads_lib.c Fix no-threads 2020-12-14 10:45:27 +10:00
threads_none.c Add some more CRYPTO_atomic functions 2020-12-31 13:14:38 +01:00
threads_pthread.c Update copyright year 2021-02-18 15:05:17 +00:00
threads_win.c Use read/write locking on Windows 2021-03-11 10:33:06 +00:00
trace.c
uid.c
vms_rms.h
x86_64cpuid.pl
x86cpuid.pl