$NetBSD: openssl-prime.1,v 1.1 2025/07/18 16:41:19 christos Exp $ -*- mode: troff; coding: utf-8 -*- Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45) Standard preamble: ========================================================================..
..
..
\*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.. ds C` ""
. ds C' ""
'br\}
. ds C`
. ds C'
'br\}
Escape single quotes in literal strings from groff's Unicode transform. If the F register is >0, we'll generate index entries on stderr for titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index entries marked with X<> in POD. Of course, you'll have to process the output yourself in some meaningful fashion. Avoid warning from groff about undefined register 'F'...
.nr rF 0
. if \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. if !\nF==2 \{\
. nr % 0
. nr F 2
. \}
. \}
.\}
.rr rF
Required to disable full justification in groff 1.23.0. ======================================================================== Title "OPENSSL-PRIME 1" OPENSSL-PRIME 1 2025-07-18 3.5.1 OpenSSL
For nroff, turn off justification. Always turn off hyphenation; it makes way too many mistakes in technical documents..nh
NAME
openssl-prime - compute prime numbers
SYNOPSIS
Header "SYNOPSIS" \fBopenssl prime
[
-help]
[
-hex]
[
-generate]
[
-bits num]
[
-safe]
[
-provider name]
[
-provider-path path]
[
-provparam [name:]key=value]
[
-propquery propq]
[
-checks num]
[
number ...]
DESCRIPTION
Header "DESCRIPTION" This command checks if the specified numbers are prime.
If no numbers are given on the command line, the -generate flag should
be used to generate primes according to the requirements specified by the
rest of the flags.
OPTIONS
Header "OPTIONS" -help 4
Item "-help" Display an option summary.
-hex 4
Item "-hex" Generate hex output.
-generate 4
Item "-generate" Generate a prime number.
"-bits num" 4
Item "-bits num" Generate a prime with
num bits.
-safe 4
Item "-safe" When used with
-generate, generates a "safe" prime. If the number
generated is
n, then check that
\*(C`(\f(CIn
-1)/2\*(C' is also prime.
"-provider name" 4
Item "-provider name" 0
"-provider-path path" 4
Item "-provider-path path" "-provparam [name:]key=value" 4
Item "-provparam [name:]key=value" "-propquery propq" 4
Item "-propquery propq"
See "Provider Options" in openssl\|(1), provider\|(7), and property\|(7).
"-checks num" 4
Item "-checks num" This parameter is ignored.
COPYRIGHT
Header "COPYRIGHT" Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
in the file LICENSE in the source distribution or at
<https://www.openssl.org/source/license.html>.