mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-10 13:40:53 +02:00
997a377310
1. In wc_DhGenerateParams(), changed the call to mp_prime_is_prime() to mp_prime_is_prime_ex(). 2. In wc_MakeDsaParameters(), changed the call to mp_prime_is_prime() to mp_prime_is_prime_ex(). 3. Added wc_CheckProbablePrime_ex in RSA that also takes an RNG to call mp_prime_is_prime_ex(). If RNG is NULL, call mp_prime_is_prime(). 4. Rewrite wc_CheckProbablePrime() in terms of wc_CheckProbablePrime_ex().