diff options
| author | schwarze <> | 2018-12-21 19:30:19 +0000 |
|---|---|---|
| committer | schwarze <> | 2018-12-21 19:30:19 +0000 |
| commit | 8f193d85ea0e219bff6a9cc10dbe07f09a0fc7fc (patch) | |
| tree | f1d5216cafcd15469f39f6a875b4d1369d932017 | |
| parent | 1635f75ddd8849b3cf2854c2040171d68e696d5c (diff) | |
| download | openbsd-8f193d85ea0e219bff6a9cc10dbe07f09a0fc7fc.tar.gz openbsd-8f193d85ea0e219bff6a9cc10dbe07f09a0fc7fc.tar.bz2 openbsd-8f193d85ea0e219bff6a9cc10dbe07f09a0fc7fc.zip | |
Mention that some functions call BN_GENCB_call(3) with a second
argument of 3; from Beat Bolli <dev at drbeat dot li>
via OpenSSL commit bd93f1ac Jul 28 16:45:22 2018 -0400.
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/man/BN_generate_prime.3 | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/BN_generate_prime.3 b/src/lib/libcrypto/man/BN_generate_prime.3 index e9adea80a4..c767a8643b 100644 --- a/src/lib/libcrypto/man/BN_generate_prime.3 +++ b/src/lib/libcrypto/man/BN_generate_prime.3 | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | .\" $OpenBSD: BN_generate_prime.3,v 1.14 2018/03/27 17:35:50 schwarze Exp $ | 1 | .\" $OpenBSD: BN_generate_prime.3,v 1.15 2018/12/21 19:30:19 schwarze Exp $ |
| 2 | .\" full merge up to: OpenSSL b3696a55 Sep 2 09:35:50 2017 -0400 | 2 | .\" full merge up to: OpenSSL b3696a55 Sep 2 09:35:50 2017 -0400 |
| 3 | .\" selective merge up to: OpenSSL df75c2bf Dec 9 01:02:36 2018 +0100 | ||
| 3 | .\" | 4 | .\" |
| 4 | .\" This file was written by Ulf Moeller <ulf@openssl.org> | 5 | .\" This file was written by Ulf Moeller <ulf@openssl.org> |
| 5 | .\" Bodo Moeller <bodo@openssl.org>, and Matt Caswell <matt@openssl.org>. | 6 | .\" Bodo Moeller <bodo@openssl.org>, and Matt Caswell <matt@openssl.org>. |
| 6 | .\" Copyright (c) 2000, 2003, 2013, 2014 The OpenSSL Project. | 7 | .\" Copyright (c) 2000, 2003, 2013, 2014, 2018 The OpenSSL Project. |
| 7 | .\" All rights reserved. | 8 | .\" All rights reserved. |
| 8 | .\" | 9 | .\" |
| 9 | .\" Redistribution and use in source and binary forms, with or without | 10 | .\" Redistribution and use in source and binary forms, with or without |
| @@ -50,7 +51,7 @@ | |||
| 50 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 51 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 51 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 52 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
| 52 | .\" | 53 | .\" |
| 53 | .Dd $Mdocdate: March 27 2018 $ | 54 | .Dd $Mdocdate: December 21 2018 $ |
| 54 | .Dt BN_GENERATE_PRIME 3 | 55 | .Dt BN_GENERATE_PRIME 3 |
| 55 | .Os | 56 | .Os |
| 56 | .Sh NAME | 57 | .Sh NAME |
| @@ -178,6 +179,13 @@ is called as described below. | |||
| 178 | When a prime has been found, | 179 | When a prime has been found, |
| 179 | .Fn BN_GENCB_call cb 2 i | 180 | .Fn BN_GENCB_call cb 2 i |
| 180 | is called. | 181 | is called. |
| 182 | .It | ||
| 183 | The callers of | ||
| 184 | .Fn BN_generate_prime_ex | ||
| 185 | may call | ||
| 186 | .Fn BN_GENCB_call | ||
| 187 | with other values as described in their respective manual pages; see | ||
| 188 | .Sx SEE ALSO . | ||
| 181 | .El | 189 | .El |
| 182 | .Pp | 190 | .Pp |
| 183 | The prime may have to fulfill additional requirements for use in | 191 | The prime may have to fulfill additional requirements for use in |
| @@ -373,8 +381,11 @@ The error codes can be obtained by | |||
| 373 | .Xr ERR_get_error 3 . | 381 | .Xr ERR_get_error 3 . |
| 374 | .Sh SEE ALSO | 382 | .Sh SEE ALSO |
| 375 | .Xr BN_new 3 , | 383 | .Xr BN_new 3 , |
| 384 | .Xr DH_generate_parameters 3 , | ||
| 385 | .Xr DSA_generate_parameters 3 , | ||
| 376 | .Xr ERR_get_error 3 , | 386 | .Xr ERR_get_error 3 , |
| 377 | .Xr RAND_bytes 3 | 387 | .Xr RAND_bytes 3 , |
| 388 | .Xr RSA_generate_key 3 | ||
| 378 | .Sh HISTORY | 389 | .Sh HISTORY |
| 379 | .Fn BN_generate_prime | 390 | .Fn BN_generate_prime |
| 380 | and | 391 | and |
