summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2023-07-20 09:38:45 +0000
committertb <>2023-07-20 09:38:45 +0000
commita9f80214e7859e1d4188ac25022061e76dc2dac7 (patch)
tree17e7bdc428cd5e47a0980525b1417ad99e9062e1 /src/lib
parent607855ae50c25cebe2edd66b01ba4f542b931a63 (diff)
downloadopenbsd-a9f80214e7859e1d4188ac25022061e76dc2dac7.tar.gz
openbsd-a9f80214e7859e1d4188ac25022061e76dc2dac7.tar.bz2
openbsd-a9f80214e7859e1d4188ac25022061e76dc2dac7.zip
Remove get_rfc*_prime_* documentation
Their BN_get_rfc*_prime_* aliases from the OpenSSL 1.1 API will remain. Perhaps the manual should be moved to BN_get_rfc3526_prime_8192.3; that can be done in a second step.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/BN_new.36
-rw-r--r--src/lib/libcrypto/man/get_rfc3526_prime_8192.360
2 files changed, 20 insertions, 46 deletions
diff --git a/src/lib/libcrypto/man/BN_new.3 b/src/lib/libcrypto/man/BN_new.3
index 3a3e98379f..df519c5218 100644
--- a/src/lib/libcrypto/man/BN_new.3
+++ b/src/lib/libcrypto/man/BN_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BN_new.3,v 1.28 2023/07/09 06:45:03 tb Exp $ 1.\" $OpenBSD: BN_new.3,v 1.29 2023/07/20 09:38:45 tb Exp $
2.\" full merge up to: OpenSSL man3/BN_new 2457c19d Mar 6 08:43:36 2004 +0000 2.\" full merge up to: OpenSSL man3/BN_new 2457c19d Mar 6 08:43:36 2004 +0000
3.\" selective merge up to: man3/BN_new 681acb31 Sep 29 13:10:34 2017 +0200 3.\" selective merge up to: man3/BN_new 681acb31 Sep 29 13:10:34 2017 +0200
4.\" full merge up to: OpenSSL man7/bn 05ea606a May 20 20:52:46 2016 -0400 4.\" full merge up to: OpenSSL man7/bn 05ea606a May 20 20:52:46 2016 -0400
@@ -50,7 +50,7 @@
50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
51.\" OF THE POSSIBILITY OF SUCH DAMAGE. 51.\" OF THE POSSIBILITY OF SUCH DAMAGE.
52.\" 52.\"
53.Dd $Mdocdate: July 9 2023 $ 53.Dd $Mdocdate: July 20 2023 $
54.Dt BN_NEW 3 54.Dt BN_NEW 3
55.Os 55.Os
56.Sh NAME 56.Sh NAME
@@ -155,7 +155,7 @@ and sets an error code that can be obtained by
155.Xr BN_swap 3 , 155.Xr BN_swap 3 ,
156.Xr BN_zero 3 , 156.Xr BN_zero 3 ,
157.Xr crypto 3 , 157.Xr crypto 3 ,
158.Xr get_rfc3526_prime_8192 3 158.Xr BN_get_rfc3526_prime_8192 3
159.Sh HISTORY 159.Sh HISTORY
160.Fn BN_new , 160.Fn BN_new ,
161.Fn BN_clear , 161.Fn BN_clear ,
diff --git a/src/lib/libcrypto/man/get_rfc3526_prime_8192.3 b/src/lib/libcrypto/man/get_rfc3526_prime_8192.3
index 5ab9571dcf..3543287351 100644
--- a/src/lib/libcrypto/man/get_rfc3526_prime_8192.3
+++ b/src/lib/libcrypto/man/get_rfc3526_prime_8192.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: get_rfc3526_prime_8192.3,v 1.7 2023/04/02 23:33:42 tb Exp $ 1.\" $OpenBSD: get_rfc3526_prime_8192.3,v 1.8 2023/07/20 09:38:45 tb Exp $
2.\" checked up to: OpenSSL DH_get_1024_160 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" checked up to: OpenSSL DH_get_1024_160 99d63d46 Oct 26 13:56:48 2016 -0400
3.\" 3.\"
4.\" Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> 4.\" Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,18 +15,10 @@
15.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17.\" 17.\"
18.Dd $Mdocdate: April 2 2023 $ 18.Dd $Mdocdate: July 20 2023 $
19.Dt GET_RFC3526_PRIME_8192 3 19.Dt GET_RFC3526_PRIME_8192 3
20.Os 20.Os
21.Sh NAME 21.Sh NAME
22.Nm get_rfc2409_prime_768 ,
23.Nm get_rfc2409_prime_1024 ,
24.Nm get_rfc3526_prime_1536 ,
25.Nm get_rfc3526_prime_2048 ,
26.Nm get_rfc3526_prime_3072 ,
27.Nm get_rfc3526_prime_4096 ,
28.Nm get_rfc3526_prime_6144 ,
29.Nm get_rfc3526_prime_8192 ,
30.Nm BN_get_rfc2409_prime_768 , 22.Nm BN_get_rfc2409_prime_768 ,
31.Nm BN_get_rfc2409_prime_1024 , 23.Nm BN_get_rfc2409_prime_1024 ,
32.Nm BN_get_rfc3526_prime_1536 , 24.Nm BN_get_rfc3526_prime_1536 ,
@@ -39,22 +31,6 @@
39.Sh SYNOPSIS 31.Sh SYNOPSIS
40.In openssl/bn.h 32.In openssl/bn.h
41.Ft BIGNUM * 33.Ft BIGNUM *
42.Fn get_rfc2409_prime_768 "BIGNUM *bn"
43.Ft BIGNUM *
44.Fn get_rfc2409_prime_1024 "BIGNUM *bn"
45.Ft BIGNUM *
46.Fn get_rfc3526_prime_1536 "BIGNUM *bn"
47.Ft BIGNUM *
48.Fn get_rfc3526_prime_2048 "BIGNUM *bn"
49.Ft BIGNUM *
50.Fn get_rfc3526_prime_3072 "BIGNUM *bn"
51.Ft BIGNUM *
52.Fn get_rfc3526_prime_4096 "BIGNUM *bn"
53.Ft BIGNUM *
54.Fn get_rfc3526_prime_6144 "BIGNUM *bn"
55.Ft BIGNUM *
56.Fn get_rfc3526_prime_8192 "BIGNUM *bn"
57.Ft BIGNUM *
58.Fn BN_get_rfc2409_prime_768 "BIGNUM *bn" 34.Fn BN_get_rfc2409_prime_768 "BIGNUM *bn"
59.Ft BIGNUM * 35.Ft BIGNUM *
60.Fn BN_get_rfc2409_prime_1024 "BIGNUM *bn" 36.Fn BN_get_rfc2409_prime_1024 "BIGNUM *bn"
@@ -74,9 +50,6 @@
74Each of these functions returns one specific constant Sophie Germain 50Each of these functions returns one specific constant Sophie Germain
75prime number 51prime number
76.Fa p . 52.Fa p .
77The names with the prefix
78.Sq BN_
79are aliases for the names without that prefix.
80.Pp 53.Pp
81If 54If
82.Fa bn 55.Fa bn
@@ -153,22 +126,23 @@ information about these numbers.
153RFC 3526, "More Modular Exponential (MODP) Diffie-Hellman groups 126RFC 3526, "More Modular Exponential (MODP) Diffie-Hellman groups
154for Internet Key Exchange (IKE)", defines the other six numbers. 127for Internet Key Exchange (IKE)", defines the other six numbers.
155.Sh HISTORY 128.Sh HISTORY
156.Fn get_rfc2409_prime_768 , 129.Fn BN_get_rfc2409_prime_768 ,
157.Fn get_rfc2409_prime_1024 , 130.Fn BN_get_rfc2409_prime_1024 ,
158.Fn get_rfc3526_prime_1536 , 131.Fn BN_get_rfc3526_prime_1536 ,
159.Fn get_rfc3526_prime_2048 , 132.Fn BN_get_rfc3526_prime_2048 ,
160.Fn get_rfc3526_prime_3072 , 133.Fn BN_get_rfc3526_prime_3072 ,
161.Fn get_rfc3526_prime_4096 , 134.Fn BN_get_rfc3526_prime_4096 ,
162.Fn get_rfc3526_prime_6144 , 135.Fn BN_get_rfc3526_prime_6144 ,
163and 136and
164.Fn get_rfc3526_prime_8192 137.Fn BN_get_rfc3526_prime_8192
165first appeared in OpenSSL 0.9.8a and have been available since 138first appeared in OpenSSL 1.1.0 and have been available since
166.Ox 4.5 .
167.Pp
168The
169.Sy BN_
170aliases first appeared in OpenSSL 1.1.0 and have been available since
171.Ox 6.3 . 139.Ox 6.3 .
140The same functions without
141.Sy BN_
142prefix first appeared in OpenSSL 0.9.8a and
143.Ox 4.5 ;
144they were removed in
145.Ox 7.4 .
172.Sh CAVEATS 146.Sh CAVEATS
173As all the memory needed for storing the numbers is dynamically 147As all the memory needed for storing the numbers is dynamically
174allocated, the 148allocated, the