mbedtls/library
Manuel Pégourié-Gonnard 88fca3ef0e Fix thread safety issue in RSA operations
The race was due to mpi_exp_mod storing a Montgomery coefficient in the
context (RM, RP, RQ).

The fix was verified with -fsanitize-thread using ssl_pthread_server and two
concurrent clients.

A more fine-grained fix should be possible, locking just enough time to check
if those values are OK and set them if not, rather than locking for the whole
mpi_exp_mod() operation, but it will be for later.
2015-03-27 15:12:05 +01:00
..
.gitignore Minor gitginore fixes 2015-01-28 15:34:01 +00:00
aes.c Rename website and repository 2015-03-06 13:17:10 +00:00
aesni.c Rename website and repository 2015-03-06 13:17:10 +00:00
arc4.c Rename website and repository 2015-03-06 13:17:10 +00:00
asn1parse.c Rename website and repository 2015-03-06 13:17:10 +00:00
asn1write.c Rename website and repository 2015-03-06 13:17:10 +00:00
base64.c Rename website and repository 2015-03-06 13:17:10 +00:00
bignum.c Rename website and repository 2015-03-06 13:17:10 +00:00
blowfish.c Rename website and repository 2015-03-06 13:17:10 +00:00
camellia.c Rename website and repository 2015-03-06 13:17:10 +00:00
ccm.c Rename website and repository 2015-03-06 13:17:10 +00:00
certs.c Rename website and repository 2015-03-06 13:17:10 +00:00
cipher.c Add POLARSSL_DEPRECATED_{WARNING,REMOVED} 2015-03-23 14:11:11 +01:00
cipher_wrap.c Rename website and repository 2015-03-06 13:17:10 +00:00
CMakeLists.txt Suppress clang warning we don't want 2015-03-23 12:03:49 +01:00
ctr_drbg.c Add missing 'const' on selftest data 2015-03-11 09:13:42 +00:00
debug.c Rename website and repository 2015-03-06 13:17:10 +00:00
des.c Rename website and repository 2015-03-06 13:17:10 +00:00
dhm.c Rename website and repository 2015-03-06 13:17:10 +00:00
ecdh.c Rename website and repository 2015-03-06 13:17:10 +00:00
ecdsa.c Rename website and repository 2015-03-06 13:17:10 +00:00
ecp.c Rename website and repository 2015-03-06 13:17:10 +00:00
ecp_curves.c Rename website and repository 2015-03-06 13:17:10 +00:00
entropy.c Rename website and repository 2015-03-06 13:17:10 +00:00
entropy_poll.c Rename website and repository 2015-03-06 13:17:10 +00:00
error.c Rename website and repository 2015-03-06 13:17:10 +00:00
gcm.c Add missing 'const' on selftest data 2015-03-11 09:13:42 +00:00
havege.c Rename website and repository 2015-03-06 13:17:10 +00:00
hmac_drbg.c Fix use of deprecated function in the library 2015-03-20 18:23:52 +00:00
Makefile build: Makefile: cleanup CFLAGS 2015-03-13 13:34:25 +00:00
md.c Add POLARSSL_DEPRECATED_{WARNING,REMOVED} 2015-03-23 14:11:11 +01:00
md2.c Rename website and repository 2015-03-06 13:17:10 +00:00
md4.c Rename website and repository 2015-03-06 13:17:10 +00:00
md5.c Add missing 'const' on selftest data 2015-03-11 09:13:42 +00:00
md_wrap.c Rename website and repository 2015-03-06 13:17:10 +00:00
memory_buffer_alloc.c Rename website and repository 2015-03-06 13:17:10 +00:00
net.c Rename website and repository 2015-03-06 13:17:10 +00:00
oid.c Add support for X.520 uniqueIdentifier 2015-03-27 13:03:54 +01:00
padlock.c Rename website and repository 2015-03-06 13:17:10 +00:00
pbkdf2.c Add POLARSSL_DEPRECATED_{WARNING,REMOVED} 2015-03-23 14:11:11 +01:00
pem.c Rename website and repository 2015-03-06 13:17:10 +00:00
pk.c Rename website and repository 2015-03-06 13:17:10 +00:00
pk_wrap.c Rename website and repository 2015-03-06 13:17:10 +00:00
pkcs5.c Add missing 'const' on selftest data 2015-03-11 09:13:42 +00:00
pkcs11.c Rename website and repository 2015-03-06 13:17:10 +00:00
pkcs12.c Rename website and repository 2015-03-06 13:17:10 +00:00
pkparse.c Rename website and repository 2015-03-06 13:17:10 +00:00
pkwrite.c Rename website and repository 2015-03-06 13:17:10 +00:00
platform.c Rename website and repository 2015-03-06 13:17:10 +00:00
ripemd160.c Rename website and repository 2015-03-06 13:17:10 +00:00
rsa.c Fix thread safety issue in RSA operations 2015-03-27 15:12:05 +01:00
sha1.c Add missing 'const' on selftest data 2015-03-11 09:13:42 +00:00
sha256.c Add missing 'const' on selftest data 2015-03-11 09:13:42 +00:00
sha512.c Add missing 'const' on selftest data 2015-03-11 09:13:42 +00:00
ssl_cache.c Rename website and repository 2015-03-06 13:17:10 +00:00
ssl_ciphersuites.c Rename website and repository 2015-03-06 13:17:10 +00:00
ssl_cli.c Fix compile error with renego disabled 2015-03-10 16:09:08 +00:00
ssl_srv.c Rename website and repository 2015-03-06 13:17:10 +00:00
ssl_tls.c Add POLARSSL_DEPRECATED_{WARNING,REMOVED} 2015-03-23 14:11:11 +01:00
threading.c Rename website and repository 2015-03-06 13:17:10 +00:00
timing.c Rename website and repository 2015-03-06 13:17:10 +00:00
version.c Rename website and repository 2015-03-06 13:17:10 +00:00
version_features.c Update generated file 2015-03-23 14:24:06 +01:00
x509.c Accept bitstrings in X.509 names 2015-03-27 13:03:09 +01:00
x509_create.c Rename website and repository 2015-03-06 13:17:10 +00:00
x509_crl.c Rename website and repository 2015-03-06 13:17:10 +00:00
x509_crt.c Rename website and repository 2015-03-06 13:17:10 +00:00
x509_csr.c Rename website and repository 2015-03-06 13:17:10 +00:00
x509write_crt.c Rename website and repository 2015-03-06 13:17:10 +00:00
x509write_csr.c Rename website and repository 2015-03-06 13:17:10 +00:00
xtea.c Rename website and repository 2015-03-06 13:17:10 +00:00