summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/BN_cmp.3
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/lib/libcrypto/man/BN_cmp.3
parent762f343c10119424e3b764862c052c3088a454c9 (diff)
downloadopenbsd-9f245f7b9abbb01c441bdde1365f56140c5cf559.tar.gz
openbsd-9f245f7b9abbb01c441bdde1365f56140c5cf559.tar.bz2
openbsd-9f245f7b9abbb01c441bdde1365f56140c5cf559.zip
mention what BN_ULONG is
Diffstat (limited to 'src/lib/libcrypto/man/BN_cmp.3')
-rw-r--r--src/lib/libcrypto/man/BN_cmp.313
1 files changed, 11 insertions, 2 deletions
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