summaryrefslogtreecommitdiffstats
path: root/doc/crypto/DSA_generate_parameters.pod
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-01-30 03:32:28 +0000
committerBodo Möller <bodo@openssl.org>2000-01-30 03:32:28 +0000
commit1baa94907c6c58d96a989a98bc319135354c346b (patch)
tree8af1bd3be38a4dd33b9cea48231948f48f5c8dbd /doc/crypto/DSA_generate_parameters.pod
parent7865b871c0307ad2d71a8f3dc066b7cfd0d99c4a (diff)
Make output of "openssl dsaparam 1024" more interesting :-)
Diffstat (limited to 'doc/crypto/DSA_generate_parameters.pod')
-rw-r--r--doc/crypto/DSA_generate_parameters.pod14
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/crypto/DSA_generate_parameters.pod b/doc/crypto/DSA_generate_parameters.pod
index bae4e1b560..04d8c9dff4 100644
--- a/doc/crypto/DSA_generate_parameters.pod
+++ b/doc/crypto/DSA_generate_parameters.pod
@@ -42,9 +42,11 @@ When a candidate for q is generated, B<callback(0, m++, cb_arg)> is called
=item *
-While a candidate for q is tested, B<callback(1, i, cb_arg)>
-is called in the outer loop of the Miller-Rabin primality tests
-(once for each witness that confirms that the candidate may be prime).
+When a candidate for q has passed a test by trial division,
+B<callback(1, -1, cb_arg)> is called.
+While a candidate for q is tested by Miller-Rabin primality tests,
+B<callback(1, i, cb_arg)> is called in the outer loop
+(once for each witness that confirms that the candidate may be prime);
i is the loop counter (starting at 0).
=item *
@@ -59,8 +61,10 @@ B<callback(0, counter, cb_arg)> is called.
=item *
-While a candidate for p is tested, B<callback(1, j++, cb_arg)>
-is called in the outer loop of the Miller-Rabin primality test
+When a candidate for p has passed the test by trial division,
+B<callback(1, -1 , cb_arg)> is called.
+While it is tested by the Miller-Rabin primality test,
+B<callback(1, i, cb_arg)> is called in the outer loop
(once for each witness that confirms that the candidate may be prime).
i is the loop counter (starting at 0).