diff options
author | Bodo Möller <bodo@openssl.org> | 2000-01-30 11:05:39 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-01-30 11:05:39 +0000 |
commit | cdd43b5ba565cdf6c86acec3fef0298c31e65f32 (patch) | |
tree | 728bbc78a9401556c8186074a2679aeb11c75ecb /CHANGES | |
parent | 1baa94907c6c58d96a989a98bc319135354c346b (diff) | |
download | openssl-cdd43b5ba565cdf6c86acec3fef0298c31e65f32.zip openssl-cdd43b5ba565cdf6c86acec3fef0298c31e65f32.tar.gz openssl-cdd43b5ba565cdf6c86acec3fef0298c31e65f32.tar.bz2 |
Documentation for BN_is_prime_fasttest.
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -20,11 +20,15 @@ generation becomes much faster. This implies a change for the callback functions in DSA_is_prime - and DSA_generate_parameters: They are now called once for each - positive witness in the Rabin-Miller test, not just occasionally - in the inner loop; and the parameters to the callback function now - provide an iteration count for the outer loop rather than for the - current invocation of the inner loop. + and DSA_generate_parameters: The callback function is called once + for each positive witness in the Rabin-Miller test, not just + occasionally in the inner loop; and the parameters to the + callback function now provide an iteration count for the outer + loop rather than for the current invocation of the inner loop. + DSA_generate_parameters additionally can call the callback + function with an 'iteration count' of -1, meaning that a + candidate has passed the trial division test (when q is generated + from an application-provided seed, trial division is skipped). [Bodo Moeller] *) New function BN_is_prime_fasttest that optionally does trial |