summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/BN_zero.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/BN_zero.3')
-rw-r--r--src/lib/libcrypto/man/BN_zero.325
1 files changed, 3 insertions, 22 deletions
diff --git a/src/lib/libcrypto/man/BN_zero.3 b/src/lib/libcrypto/man/BN_zero.3
index 876e1c3fde..0b677b246f 100644
--- a/src/lib/libcrypto/man/BN_zero.3
+++ b/src/lib/libcrypto/man/BN_zero.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BN_zero.3,v 1.12 2022/11/22 19:02:07 schwarze Exp $ 1.\" $OpenBSD: BN_zero.3,v 1.13 2023/04/30 19:23:54 tb 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.\"
@@ -67,11 +67,10 @@
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: November 22 2022 $ 70.Dd $Mdocdate: April 30 2023 $
71.Dt BN_ZERO 3 71.Dt BN_ZERO 3
72.Os 72.Os
73.Sh NAME 73.Sh NAME
74.Nm BN_zero_ex ,
75.Nm BN_zero , 74.Nm BN_zero ,
76.Nm BN_one , 75.Nm BN_one ,
77.Nm BN_value_one , 76.Nm BN_value_one ,
@@ -80,10 +79,6 @@
80.Nd BIGNUM assignment operations 79.Nd BIGNUM assignment operations
81.Sh SYNOPSIS 80.Sh SYNOPSIS
82.In openssl/bn.h 81.In openssl/bn.h
83.Ft void
84.Fo BN_zero_ex
85.Fa "BIGNUM *a"
86.Fc
87.Ft int 82.Ft int
88.Fo BN_zero 83.Fo BN_zero
89.Fa "BIGNUM *a" 84.Fa "BIGNUM *a"
@@ -117,7 +112,7 @@ platforms and
117.Vt unsigned int Pq = Vt uint32_t 112.Vt unsigned int Pq = Vt uint32_t
118elsewhere. 113elsewhere.
119.Pp 114.Pp
120.Fn BN_zero_ex , 115.Fn BN_zero ,
121.Fn BN_one , 116.Fn BN_one ,
122and 117and
123.Fn BN_set_word 118.Fn BN_set_word
@@ -126,16 +121,6 @@ set
126to the values 0, 1 and 121to the values 0, 1 and
127.Fa w 122.Fa w
128respectively. 123respectively.
129.Fn BN_zero
130is a deprecated version of
131.Fn BN_zero_ex
132that may attempt to allocate memory; consequently, and in contrast to
133.Fn BN_zero_ex ,
134it may fail.
135.Fn BN_zero
136and
137.Fn BN_one
138are macros.
139.Pp 124.Pp
140.Fn BN_value_one 125.Fn BN_value_one
141returns a 126returns a
@@ -174,10 +159,6 @@ first appeared in SSLeay 0.5.1.
174first appeared in SSLeay 0.6.0. 159first appeared in SSLeay 0.6.0.
175These functions have been available since 160These functions have been available since
176.Ox 2.4 . 161.Ox 2.4 .
177.Pp
178.Fn BN_zero_ex
179first appeared in OpenSSL 0.9.8 and has been available since
180.Ox 4.5 .
181.Sh BUGS 162.Sh BUGS
182Someone might change the constant. 163Someone might change the constant.
183.Pp 164.Pp