openssl/crypto/rsa
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 Make default_method mostly compile-time 2017-04-07 12:19:46 -04:00
rsa_ameth.c Set maskHash when creating parameters. 2017-07-19 14:02:20 +01:00
rsa_asn1.c ASN.1: adapt our use of INTxx et al by making them explicitely embedded 2017-04-13 10:23:31 +02:00
rsa_chk.c RT2676: Reject RSA eponent if even or 1 2016-08-22 11:25:12 -04:00
rsa_crpt.c Switch from ossl_rand to DRBG rand 2017-08-03 09:23:28 -04:00
rsa_depr.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
rsa_err.c Put message strings in state files 2017-06-12 15:03:40 -04:00
rsa_gen.c Fix an endless loop in rsa_builtin_keygen. 2017-03-06 09:54:17 -05:00
rsa_lib.c Make default_method mostly compile-time 2017-04-07 12:19:46 -04:00
rsa_locl.h Act on deprecation of LONG and ZLONG, step 2 2017-04-10 12:11:00 +02:00
rsa_meth.c Raise an error on memory alloc failure. 2016-11-16 20:54:53 -05:00
rsa_none.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
rsa_oaep.c Fix an information leak in the RSA padding check code. 2017-07-31 21:47:52 +02:00
rsa_ossl.c Change to check last return value of BN_CTX_get 2017-06-26 15:40:16 +02:00
rsa_pk1.c Fix an information leak in the RSA padding check code. 2017-07-31 21:47:52 +02:00
rsa_pmeth.c Typo: should check mgf1md 2017-07-19 14:02:20 +01:00
rsa_prn.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
rsa_pss.c Fix a crash or unbounded allocation in RSA_padding_add_PKCS1_PSS_mgf1 2017-03-13 21:59:53 +01:00
rsa_saos.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
rsa_sign.c Implement RSASSA-PKCS1-v1_5 as specified. 2016-11-07 21:04:54 +01:00
rsa_ssl.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
rsa_x931.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
rsa_x931g.c Fix possible crash in X931 code. 2017-06-14 09:35:48 -04:00