openssl/crypto/rand
Rich Salz cd3f8c1b11 Always check CRYPTO_LOCK_{read,write}_lock
Some functions that lock things are void, so we just return early.

Also make ossl_namemap_empty return 0 on error.  Updated the docs, and added
some code to ossl_namemap_stored() to handle the failure, and updated the
tests to allow for failure.

Fixes: #14230

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14238)
2021-03-14 15:33:34 +10:00
..
build.info RAND_METHOD deprecation: code changes 2021-02-23 23:24:41 +10:00
prov_seed.c rand: move the entropy source out of the FIPS provider 2020-11-20 08:24:21 +10:00
rand_deprecated.c
rand_egd.c Use OPENSSL_SYS_TANDEM instead of OPENSSL_SYSNAME_TANDEM 2020-09-24 08:06:50 +02:00
rand_err.c ERR: Rebuild all generated error headers and source files 2020-11-24 15:22:33 +01:00
rand_lib.c Always check CRYPTO_LOCK_{read,write}_lock 2021-03-14 15:33:34 +10:00
rand_local.h
rand_meth.c
rand_pool.c rand: move the entropy source out of the FIPS provider 2020-11-20 08:24:21 +10:00
randfile.c CRYPTO: refactor ERR_raise()+ERR_add_error_data() to ERR_raise_data() 2020-11-13 09:35:31 +01:00