Add BN_check_prime()
[openssl.git] / doc / man1 / openssl-prime.pod
index 068cf34405f71139d1b5e62532d4545a010a5827..aa9af22102844221bab1fd02a55148f85081107a 100644 (file)
@@ -10,14 +10,14 @@ B<openssl prime>
 [B<-help>]
 [B<-hex>]
 [B<-generate>]
-[B<-bits>]
+[B<-bits> I<num>]
 [B<-safe>]
-[B<-checks>]
-[I<number...>]
+[B<-checks> I<num>]
+[I<number> ...]
 
 =head1 DESCRIPTION
 
-The B<prime> command checks if the specified numbers are prime.
+This command checks if the specified numbers are prime.
 
 If no numbers are given on the command line, the B<-generate> flag should
 be used to generate primes according to the requirements specified by the
@@ -27,31 +27,30 @@ rest of the flags.
 
 =over 4
 
-=item [B<-help>]
+=item B<-help>
 
 Display an option summary.
 
-=item [B<-hex>]
+=item B<-hex>
 
 Generate hex output.
 
-=item [B<-generate>]
+=item B<-generate>
 
 Generate a prime number.
 
-=item [B<-bits num>]
+=item B<-bits> I<num>
 
-Generate a prime with B<num> bits.
+Generate a prime with I<num> bits.
 
-=item [B<-safe>]
+=item B<-safe>
 
 When used with B<-generate>, generates a "safe" prime. If the number
-generated is B<n>, then check that B<(n-1)/2> is also prime.
+generated is I<n>, then check that C<(I<n>-1)/2> is also prime.
 
-=item [B<-checks num>]
+=item B<-checks> I<num>
 
-Perform the checks B<num> times to see that the generated number
-is prime.  The default is 20.
+This parameter is ignored.
 
 =back