summaryrefslogtreecommitdiff
path: root/lib/libcrypto/man
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2022-11-22 19:00:16 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2022-11-22 19:00:16 +0000
commit781acd051e12cfde8cbc35e9493e6dc22c9646cc (patch)
tree301d7a6e29a20e62916fd98e87711bff59efa8cf /lib/libcrypto/man
parent87ece7d35490f7ef095e883a1f56d0153cc135e5 (diff)
Remove the lie that BN_ULONG might be 16 bits wide.
We don't install this page, but it might possibly still help developers working on internals of the BN library, so i'm not in a hurry to cvs rm this file.
Diffstat (limited to 'lib/libcrypto/man')
-rw-r--r--lib/libcrypto/man/bn_dump.320
1 files changed, 11 insertions, 9 deletions
diff --git a/lib/libcrypto/man/bn_dump.3 b/lib/libcrypto/man/bn_dump.3
index 6deac4db25c..36ae660785a 100644
--- a/lib/libcrypto/man/bn_dump.3
+++ b/lib/libcrypto/man/bn_dump.3
@@ -1,5 +1,6 @@
-.\" $OpenBSD: bn_dump.3,v 1.6 2016/12/10 21:32:14 schwarze Exp $
-.\" OpenSSL crypto/bn/README.pod aebb9aac Jul 19 09:27:53 2016 -0400
+.\" $OpenBSD: bn_dump.3,v 1.7 2022/11/22 19:00:15 schwarze Exp $
+.\" full merge up to:
+.\" OpenSSL crypto/bn/README.pod aebb9aac Jul 19 09:27:53 2016 -0400
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>.
.\" Copyright (c) 2000, 2003, 2006, 2009 The OpenSSL Project.
@@ -49,7 +50,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 10 2016 $
+.Dd $Mdocdate: November 22 2022 $
.Dt BN_DUMP 3
.Os
.Sh NAME
@@ -320,13 +321,14 @@ a
array of words
.Pq Vt BN_ULONG ,
least significant word first.
-A
.Vt BN_ULONG
-can be either 16, 32 or 64 bits in size, depending on the 'number of
-bits'
-.Pq Dv BITS2
-specified in
-.In openssl/bn.h .
+is a macro that expands to
+.Vt unsigned long Pq = Vt uint64_t
+on
+.Dv _LP64
+platforms and
+.Vt unsigned int Pq = Vt uint32_t
+elsewhere.
.Pp
.Fa dmax
is the size of the