-.\" $OpenBSD: BN_zero.3,v 1.12 2022/11/22 19:02:07 schwarze Exp $
+.\" $OpenBSD: BN_zero.3,v 1.13 2023/04/30 19:23:54 tb 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
.\"
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 22 2022 $
+.Dd $Mdocdate: April 30 2023 $
.Dt BN_ZERO 3
.Os
.Sh NAME
-.Nm BN_zero_ex ,
.Nm BN_zero ,
.Nm BN_one ,
.Nm BN_value_one ,
.Nd BIGNUM assignment operations
.Sh SYNOPSIS
.In openssl/bn.h
-.Ft void
-.Fo BN_zero_ex
-.Fa "BIGNUM *a"
-.Fc
.Ft int
.Fo BN_zero
.Fa "BIGNUM *a"
.Vt unsigned int Pq = Vt uint32_t
elsewhere.
.Pp
-.Fn BN_zero_ex ,
+.Fn BN_zero ,
.Fn BN_one ,
and
.Fn BN_set_word
to the values 0, 1 and
.Fa w
respectively.
-.Fn BN_zero
-is a deprecated version of
-.Fn BN_zero_ex
-that may attempt to allocate memory; consequently, and in contrast to
-.Fn BN_zero_ex ,
-it may fail.
-.Fn BN_zero
-and
-.Fn BN_one
-are macros.
.Pp
.Fn BN_value_one
returns a
first appeared in SSLeay 0.6.0.
These functions have been available since
.Ox 2.4 .
-.Pp
-.Fn BN_zero_ex
-first appeared in OpenSSL 0.9.8 and has been available since
-.Ox 4.5 .
.Sh BUGS
Someone might change the constant.
.Pp