openssl/crypto/dsa
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
..
build.info
dsa_ameth.c Constify private key decode. 2016-08-17 12:01:29 +01:00
dsa_asn1.c Switch from ossl_rand to DRBG rand 2017-08-03 09:23:28 -04:00
dsa_depr.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
dsa_err.c make error tables const and separate header file 2017-06-07 15:12:03 -04:00
dsa_gen.c Fix a possible crash in dsa_builtin_paramgen2. 2017-06-14 09:35:48 -04:00
dsa_key.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
dsa_lib.c Make default_method mostly compile-time 2017-04-07 12:19:46 -04:00
dsa_locl.h Act on deprecation of LONG and ZLONG, step 2 2017-04-10 12:11:00 +02:00
dsa_meth.c Fix some extra or missing whitespaces... 2017-01-25 09:06:34 +00:00
dsa_ossl.c Make default_method mostly compile-time 2017-04-07 12:19:46 -04:00
dsa_pmeth.c Style 2017-01-25 09:06:34 +00:00
dsa_prn.c
dsa_sign.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
dsa_vrf.c