diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2022-11-22 19:02:08 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2022-11-22 19:02:08 +0000 |
commit | 71167eca13e7e90ef2f1bd48489ba20d099afea2 (patch) | |
tree | 1f0c6e0b110cdbc14d907bfdb746ff70e47d5cee /lib/libcrypto/man | |
parent | 781acd051e12cfde8cbc35e9493e6dc22c9646cc (diff) |
mention what BN_ULONG is
Diffstat (limited to 'lib/libcrypto/man')
-rw-r--r-- | lib/libcrypto/man/BN_add_word.3 | 15 | ||||
-rw-r--r-- | lib/libcrypto/man/BN_cmp.3 | 13 | ||||
-rw-r--r-- | lib/libcrypto/man/BN_zero.3 | 13 |
3 files changed, 33 insertions, 8 deletions
diff --git a/lib/libcrypto/man/BN_add_word.3 b/lib/libcrypto/man/BN_add_word.3 index 1156fe37a5a..161029c3023 100644 --- a/lib/libcrypto/man/BN_add_word.3 +++ b/lib/libcrypto/man/BN_add_word.3 @@ -1,5 +1,5 @@ -.\" $OpenBSD: BN_add_word.3,v 1.9 2019/06/10 14:58:48 schwarze Exp $ -.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 +.\" $OpenBSD: BN_add_word.3,v 1.10 2022/11/22 19:02:07 schwarze Exp $ +.\" full merge up to: OpenSSL 9e183d22 Mar 11 08:56:44 2017 -0500 .\" .\" This file was written by Ulf Moeller <ulf@openssl.org>. .\" Copyright (c) 2000, 2005 The OpenSSL Project. All rights reserved. @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 10 2019 $ +.Dd $Mdocdate: November 22 2022 $ .Dt BN_ADD_WORD 3 .Os .Sh NAME @@ -91,6 +91,15 @@ integers. They are much more efficient than the normal BIGNUM arithmetic operations. .Pp +.Vt BN_ULONG +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 .Fn BN_add_word adds .Fa w diff --git a/lib/libcrypto/man/BN_cmp.3 b/lib/libcrypto/man/BN_cmp.3 index 9ca73a626fd..ba973313f01 100644 --- a/lib/libcrypto/man/BN_cmp.3 +++ b/lib/libcrypto/man/BN_cmp.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: BN_cmp.3,v 1.9 2021/12/18 21:11:50 schwarze Exp $ +.\" $OpenBSD: BN_cmp.3,v 1.10 2022/11/22 19:02:07 schwarze Exp $ .\" full merge up to: OpenSSL 5b31b9df Aug 4 10:45:52 2021 +0300 .\" .\" This file was written by Ulf Moeller <ulf@openssl.org>. @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 18 2021 $ +.Dd $Mdocdate: November 22 2022 $ .Dt BN_CMP 3 .Os .Sh NAME @@ -119,6 +119,15 @@ equals .Fa w . .Fn BN_is_odd tests if a is odd. +.Pp +.Vt BN_ULONG +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. .Sh RETURN VALUES .Fn BN_cmp returns -1 if diff --git a/lib/libcrypto/man/BN_zero.3 b/lib/libcrypto/man/BN_zero.3 index aa3e8a0682f..876e1c3fded 100644 --- a/lib/libcrypto/man/BN_zero.3 +++ b/lib/libcrypto/man/BN_zero.3 @@ -1,11 +1,11 @@ -.\" $OpenBSD: BN_zero.3,v 1.11 2021/12/19 16:18:34 schwarze Exp $ +.\" $OpenBSD: BN_zero.3,v 1.12 2022/11/22 19:02:07 schwarze Exp $ .\" full merge up to: OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400 .\" selective merge up to: OpenSSL b713c4ff Jan 22 14:41:09 2018 -0500 .\" .\" This file is a derived work. .\" The changes are covered by the following Copyright and license: .\" -.\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> +.\" Copyright (c) 2021, 2022 Ingo Schwarze <schwarze@openbsd.org> .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above @@ -67,7 +67,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 19 2021 $ +.Dd $Mdocdate: November 22 2022 $ .Dt BN_ZERO 3 .Os .Sh NAME @@ -109,6 +109,13 @@ .Vt BN_ULONG is a macro that expands to an unsigned integral type optimized for the most efficient implementation on the local platform. +It is +.Vt unsigned long Pq = Vt uint64_t +on +.Dv _LP64 +platforms and +.Vt unsigned int Pq = Vt uint32_t +elsewhere. .Pp .Fn BN_zero_ex , .Fn BN_one , |