summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libcrypto/man/BN_generate_prime.319
1 files changed, 15 insertions, 4 deletions
diff --git a/lib/libcrypto/man/BN_generate_prime.3 b/lib/libcrypto/man/BN_generate_prime.3
index e9adea80a46..c767a8643bc 100644
--- a/lib/libcrypto/man/BN_generate_prime.3
+++ b/lib/libcrypto/man/BN_generate_prime.3
@@ -1,9 +1,10 @@
-.\" $OpenBSD: BN_generate_prime.3,v 1.14 2018/03/27 17:35:50 schwarze Exp $
+.\" $OpenBSD: BN_generate_prime.3,v 1.15 2018/12/21 19:30:19 schwarze Exp $
.\" full merge up to: OpenSSL b3696a55 Sep 2 09:35:50 2017 -0400
+.\" selective merge up to: OpenSSL df75c2bf Dec 9 01:02:36 2018 +0100
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>
.\" Bodo Moeller <bodo@openssl.org>, and Matt Caswell <matt@openssl.org>.
-.\" Copyright (c) 2000, 2003, 2013, 2014 The OpenSSL Project.
+.\" Copyright (c) 2000, 2003, 2013, 2014, 2018 The OpenSSL Project.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -50,7 +51,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 27 2018 $
+.Dd $Mdocdate: December 21 2018 $
.Dt BN_GENERATE_PRIME 3
.Os
.Sh NAME
@@ -178,6 +179,13 @@ is called as described below.
When a prime has been found,
.Fn BN_GENCB_call cb 2 i
is called.
+.It
+The callers of
+.Fn BN_generate_prime_ex
+may call
+.Fn BN_GENCB_call
+with other values as described in their respective manual pages; see
+.Sx SEE ALSO .
.El
.Pp
The prime may have to fulfill additional requirements for use in
@@ -373,8 +381,11 @@ The error codes can be obtained by
.Xr ERR_get_error 3 .
.Sh SEE ALSO
.Xr BN_new 3 ,
+.Xr DH_generate_parameters 3 ,
+.Xr DSA_generate_parameters 3 ,
.Xr ERR_get_error 3 ,
-.Xr RAND_bytes 3
+.Xr RAND_bytes 3 ,
+.Xr RSA_generate_key 3
.Sh HISTORY
.Fn BN_generate_prime
and