From cdd43b5ba565cdf6c86acec3fef0298c31e65f32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Sun, 30 Jan 2000 11:05:39 +0000 Subject: Documentation for BN_is_prime_fasttest. --- CHANGES | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'CHANGES') diff --git a/CHANGES b/CHANGES index 1ea0ffb..3679225 100644 --- a/CHANGES +++ b/CHANGES @@ -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 -- cgit v1.1