openssl/util
Rich Salz 75e2c87765 Switch from ossl_rand to DRBG rand
If RAND_add wraps around, XOR with existing. Add test to drbgtest that
does the wrap-around.

Re-order seeding and stop after first success.

Add RAND_poll_ex()

Use the DF and therefore lower RANDOMNESS_NEEDED.  Also, for child DRBG's,
mix in the address as the personalization bits.

Centralize the entropy callbacks, from drbg_lib to rand_lib.
(Conceptually, entropy is part of the enclosing application.)
Thanks to Dr. Matthias St Pierre for the suggestion.

Various code cleanups:
    -Make state an enum; inline RANDerr calls.
    -Add RAND_POLL_RETRIES (thanks Pauli for the idea)
    -Remove most RAND_seed calls from rest of library
    -Rename DRBG_CTX to RAND_DRBG, etc.
    -Move some code from drbg_lib to drbg_rand; drbg_lib is now only the
     implementation of NIST DRBG.
    -Remove blocklength

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/4019)
2017-08-03 09:23:28 -04:00
..
perl/OpenSSL/Util Move manpages to man[1357] structure. 2016-10-26 13:59:52 -04:00
TLSProxy Update the version number for TLSv1.3 draft 21 2017-07-07 15:02:09 +01:00
build.info VMS: throw away [.util]shareable_image_wrap.c.in and add replacement scripts 2017-03-14 22:27:17 +01:00
ck_errf.pl Perltidy ck_errf 2017-05-03 14:16:58 -04:00
copy.pl Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
dofile.pl util/dofile.pl: report if a template couldn't be loaded 2016-09-21 01:49:04 +02:00
find-doc-nits Don't use "version" in "OpenSSL Version 1.1.0" etc 2017-07-16 17:28:41 -04:00
find-unused-errs Add -f -r flags to find-unused-errs 2017-04-16 07:57:12 -04:00
indent.pro Added support for ESSCertIDv2 2017-05-03 09:04:23 +02:00
libcrypto.num Switch from ossl_rand to DRBG rand 2017-08-03 09:23:28 -04:00
libssl.num Add support to free/allocate SSL buffers 2017-07-26 11:42:17 -04:00
local_shlib.com.in VMS: don't use /DSF, turn off CALL_DEBUG instead 2017-03-15 03:09:57 +01:00
mkbuildinf.pl Copyright consolidation: perl files 2016-04-20 09:45:40 -04:00
mkdef.pl Perl: Use File::Glob::bsd_glob rather than File::Glob::glob 2017-07-28 14:45:17 +02:00
mkdir-p.pl utils/mkdir-p: check if dir exists also after mkdir failed 2016-06-23 11:10:29 -04:00
mkerr.pl util/mkerr.pl: avoid getting an annoying warning about negative count 2017-06-27 14:49:06 +02:00
mkrc.pl Fix curly braces on util/mkrc.pl 2017-05-03 14:16:58 -04:00
openssl-format-source Simplify indentation of DECLARE_ and IMPLEMENT_ lines 2016-08-18 14:40:37 +02:00
opensslwrap.sh
private.num Switch from ossl_rand to DRBG rand 2017-08-03 09:23:28 -04:00
process_docs.pl Perl: Use File::Glob::bsd_glob rather than File::Glob::glob 2017-07-28 14:45:17 +02:00
shlib_wrap.sh.in Remove automatic RPATH - adapt shlib_wrap.sh 2016-10-13 02:21:51 +02:00
su-filter.pl Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
unlocal_shlib.com.in VMS: don't use /DSF, turn off CALL_DEBUG instead 2017-03-15 03:09:57 +01:00
with_fallback.pm Copyright consolidation; .pm and Configure 2016-04-20 10:40:05 -04:00