Blame doc/man1/prime.pod

Packit c4476c
=pod
Packit c4476c
Packit c4476c
=head1 NAME
Packit c4476c
Packit c4476c
openssl-prime,
Packit c4476c
prime - compute prime numbers
Packit c4476c
Packit c4476c
=head1 SYNOPSIS
Packit c4476c
Packit c4476c
B<openssl prime>
Packit c4476c
[B<-help>]
Packit c4476c
[B<-hex>]
Packit c4476c
[B<-generate>]
Packit c4476c
[B<-bits>]
Packit c4476c
[B<-safe>]
Packit c4476c
[B<-checks>]
Packit c4476c
[I<number...>]
Packit c4476c
Packit c4476c
=head1 DESCRIPTION
Packit c4476c
Packit c4476c
The B<prime> command checks if the specified numbers are prime.
Packit c4476c
Packit c4476c
If no numbers are given on the command line, the B<-generate> flag should
Packit c4476c
be used to generate primes according to the requirements specified by the
Packit c4476c
rest of the flags.
Packit c4476c
Packit c4476c
=head1 OPTIONS
Packit c4476c
Packit c4476c
=over 4
Packit c4476c
Packit c4476c
=item [B<-help>]
Packit c4476c
Packit c4476c
Display an option summary.
Packit c4476c
Packit c4476c
=item [B<-hex>]
Packit c4476c
Packit c4476c
Generate hex output.
Packit c4476c
Packit c4476c
=item [B<-generate>]
Packit c4476c
Packit c4476c
Generate a prime number.
Packit c4476c
Packit c4476c
=item [B<-bits num>]
Packit c4476c
Packit c4476c
Generate a prime with B<num> bits.
Packit c4476c
Packit c4476c
=item [B<-safe>]
Packit c4476c
Packit c4476c
When used with B<-generate>, generates a "safe" prime. If the number
Packit c4476c
generated is B<n>, then check that B<(n-1)/2> is also prime.
Packit c4476c
Packit c4476c
=item [B<-checks num>]
Packit c4476c
Packit c4476c
Perform the checks B<num> times to see that the generated number
Packit c4476c
is prime.  The default is 20.
Packit c4476c
Packit c4476c
=back
Packit c4476c
Packit c4476c
=head1 COPYRIGHT
Packit c4476c
Packit c4476c
Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
Packit c4476c
Packit c4476c
Licensed under the OpenSSL license (the "License").  You may not use
Packit c4476c
this file except in compliance with the License.  You can obtain a copy
Packit c4476c
in the file LICENSE in the source distribution or at
Packit c4476c
L<https://www.openssl.org/source/license.html>.
Packit c4476c
Packit c4476c
=cut