summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschwarze <>2022-11-22 19:02:07 +0000
committerschwarze <>2022-11-22 19:02:07 +0000
commit9f245f7b9abbb01c441bdde1365f56140c5cf559 (patch)
tree4c7377ef945ba4c0b781550160ede8e5580e11d7 /src
parent762f343c10119424e3b764862c052c3088a454c9 (diff)
downloadopenbsd-9f245f7b9abbb01c441bdde1365f56140c5cf559.tar.gz
openbsd-9f245f7b9abbb01c441bdde1365f56140c5cf559.tar.bz2
openbsd-9f245f7b9abbb01c441bdde1365f56140c5cf559.zip
mention what BN_ULONG is
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/BN_add_word.315
-rw-r--r--src/lib/libcrypto/man/BN_cmp.313
-rw-r--r--src/lib/libcrypto/man/BN_zero.313
3 files changed, 33 insertions, 8 deletions
diff --git a/src/lib/libcrypto/man/BN_add_word.3 b/src/lib/libcrypto/man/BN_add_word.3
index 1156fe37a5..161029c302 100644
--- a/src/lib/libcrypto/man/BN_add_word.3
+++ b/src/lib/libcrypto/man/BN_add_word.3
@@ -1,5 +1,5 @@
1.\" $OpenBSD: BN_add_word.3,v 1.9 2019/06/10 14:58:48 schwarze Exp $ 1.\" $OpenBSD: BN_add_word.3,v 1.10 2022/11/22 19:02:07 schwarze Exp $
2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" full merge up to: OpenSSL 9e183d22 Mar 11 08:56:44 2017 -0500
3.\" 3.\"
4.\" This file was written by Ulf Moeller <ulf@openssl.org>. 4.\" This file was written by Ulf Moeller <ulf@openssl.org>.
5.\" Copyright (c) 2000, 2005 The OpenSSL Project. All rights reserved. 5.\" Copyright (c) 2000, 2005 The OpenSSL Project. All rights reserved.
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: June 10 2019 $ 51.Dd $Mdocdate: November 22 2022 $
52.Dt BN_ADD_WORD 3 52.Dt BN_ADD_WORD 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -91,6 +91,15 @@ integers.
91They are much more efficient than the normal BIGNUM arithmetic 91They are much more efficient than the normal BIGNUM arithmetic
92operations. 92operations.
93.Pp 93.Pp
94.Vt BN_ULONG
95is a macro that expands to
96.Vt unsigned long Pq = Vt uint64_t
97on
98.Dv _LP64
99platforms and
100.Vt unsigned int Pq = Vt uint32_t
101elsewhere.
102.Pp
94.Fn BN_add_word 103.Fn BN_add_word
95adds 104adds
96.Fa w 105.Fa w
diff --git a/src/lib/libcrypto/man/BN_cmp.3 b/src/lib/libcrypto/man/BN_cmp.3
index 9ca73a626f..ba973313f0 100644
--- a/src/lib/libcrypto/man/BN_cmp.3
+++ b/src/lib/libcrypto/man/BN_cmp.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BN_cmp.3,v 1.9 2021/12/18 21:11:50 schwarze Exp $ 1.\" $OpenBSD: BN_cmp.3,v 1.10 2022/11/22 19:02:07 schwarze Exp $
2.\" full merge up to: OpenSSL 5b31b9df Aug 4 10:45:52 2021 +0300 2.\" full merge up to: OpenSSL 5b31b9df Aug 4 10:45:52 2021 +0300
3.\" 3.\"
4.\" This file was written by Ulf Moeller <ulf@openssl.org>. 4.\" This file was written by Ulf Moeller <ulf@openssl.org>.
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: December 18 2021 $ 51.Dd $Mdocdate: November 22 2022 $
52.Dt BN_CMP 3 52.Dt BN_CMP 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -119,6 +119,15 @@ equals
119.Fa w . 119.Fa w .
120.Fn BN_is_odd 120.Fn BN_is_odd
121tests if a is odd. 121tests if a is odd.
122.Pp
123.Vt BN_ULONG
124is a macro that expands to
125.Vt unsigned long Pq = Vt uint64_t
126on
127.Dv _LP64
128platforms and
129.Vt unsigned int Pq = Vt uint32_t
130elsewhere.
122.Sh RETURN VALUES 131.Sh RETURN VALUES
123.Fn BN_cmp 132.Fn BN_cmp
124returns -1 if 133returns -1 if
diff --git a/src/lib/libcrypto/man/BN_zero.3 b/src/lib/libcrypto/man/BN_zero.3
index aa3e8a0682..876e1c3fde 100644
--- a/src/lib/libcrypto/man/BN_zero.3
+++ b/src/lib/libcrypto/man/BN_zero.3
@@ -1,11 +1,11 @@
1.\" $OpenBSD: BN_zero.3,v 1.11 2021/12/19 16:18:34 schwarze Exp $ 1.\" $OpenBSD: BN_zero.3,v 1.12 2022/11/22 19:02:07 schwarze Exp $
2.\" full merge up to: OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400 2.\" full merge up to: OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400
3.\" selective merge up to: OpenSSL b713c4ff Jan 22 14:41:09 2018 -0500 3.\" selective merge up to: OpenSSL b713c4ff Jan 22 14:41:09 2018 -0500
4.\" 4.\"
5.\" This file is a derived work. 5.\" This file is a derived work.
6.\" The changes are covered by the following Copyright and license: 6.\" The changes are covered by the following Copyright and license:
7.\" 7.\"
8.\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> 8.\" Copyright (c) 2021, 2022 Ingo Schwarze <schwarze@openbsd.org>
9.\" 9.\"
10.\" Permission to use, copy, modify, and distribute this software for any 10.\" Permission to use, copy, modify, and distribute this software for any
11.\" purpose with or without fee is hereby granted, provided that the above 11.\" purpose with or without fee is hereby granted, provided that the above
@@ -67,7 +67,7 @@
67.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 67.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
68.\" OF THE POSSIBILITY OF SUCH DAMAGE. 68.\" OF THE POSSIBILITY OF SUCH DAMAGE.
69.\" 69.\"
70.Dd $Mdocdate: December 19 2021 $ 70.Dd $Mdocdate: November 22 2022 $
71.Dt BN_ZERO 3 71.Dt BN_ZERO 3
72.Os 72.Os
73.Sh NAME 73.Sh NAME
@@ -109,6 +109,13 @@
109.Vt BN_ULONG 109.Vt BN_ULONG
110is a macro that expands to an unsigned integral type optimized 110is a macro that expands to an unsigned integral type optimized
111for the most efficient implementation on the local platform. 111for the most efficient implementation on the local platform.
112It is
113.Vt unsigned long Pq = Vt uint64_t
114on
115.Dv _LP64
116platforms and
117.Vt unsigned int Pq = Vt uint32_t
118elsewhere.
112.Pp 119.Pp
113.Fn BN_zero_ex , 120.Fn BN_zero_ex ,
114.Fn BN_one , 121.Fn BN_one ,