2 {- OpenSSL::safe::output_do_not_edit_headers(); -}
6 openssl-prime - compute prime numbers
16 {- $OpenSSL::safe::opt_provider_synopsis -}
22 This command checks if the specified numbers are prime.
24 If no numbers are given on the command line, the B<-generate> flag should
25 be used to generate primes according to the requirements specified by the
34 Display an option summary.
42 Generate a prime number.
46 Generate a prime with I<num> bits.
50 When used with B<-generate>, generates a "safe" prime. If the number
51 generated is I<n>, then check that C<(I<n>-1)/2> is also prime.
53 {- $OpenSSL::safe::opt_provider_item -}
55 =item B<-checks> I<num>
57 This parameter is ignored.
63 Copyright 2017-2019 The OpenSSL Project Authors. All Rights Reserved.
65 Licensed under the Apache License 2.0 (the "License"). You may not use
66 this file except in compliance with the License. You can obtain a copy
67 in the file LICENSE in the source distribution or at
68 L<https://www.openssl.org/source/license.html>.