-.\" $OpenBSD: BN_cmp.3,v 1.7 2021/11/30 18:34:35 tb Exp $
+.\" $OpenBSD: BN_cmp.3,v 1.8 2021/12/06 19:45:27 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>.
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 30 2021 $
+.Dd $Mdocdate: December 6 2021 $
.Dt BN_CMP 3
.Os
.Sh NAME
respectively.
.Fn BN_is_odd
tests if a is odd.
-.Pp
-.Fn BN_is_zero ,
-.Fn BN_is_one ,
-.Fn BN_is_word ,
-and
-.Fn BN_is_odd
-are macros.
.Sh RETURN VALUES
.Fn BN_cmp
returns -1 if
-.\" $OpenBSD: BN_copy.3,v 1.9 2018/03/27 17:35:50 schwarze Exp $
+.\" $OpenBSD: BN_copy.3,v 1.10 2021/12/06 19:45:27 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 27 2018 $
+.Dd $Mdocdate: December 6 2021 $
.Dt BN_COPY 3
.Os
.Sh NAME
It places significant restrictions on the copied data.
Applications that do not adhere to these restrictions
may encounter unexpected side effects or crashes.
-For that reason, use of this macro is discouraged.
+For that reason, use of this function is discouraged.
.Pp
Any flags provided in
.Fa flags
-.\" $OpenBSD: BN_mod_mul_montgomery.3,v 1.12 2021/11/30 18:34:35 tb Exp $
+.\" $OpenBSD: BN_mod_mul_montgomery.3,v 1.13 2021/12/06 19:45:27 schwarze Exp $
.\" OpenSSL 6859cf74 Sep 25 13:33:28 2002 +0000
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>.
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 30 2021 $
+.Dd $Mdocdate: December 6 2021 $
.Dt BN_MOD_MUL_MONTGOMERY 3
.Os
.Sh NAME
} BN_MONT_CTX;
.Ed
.Pp
-.Fn BN_to_montgomery
-is a macro.
-.Pp
.Sy Warning :
The inputs must be reduced modulo
.Fa m ,
-.\" $OpenBSD: BN_set_flags.3,v 1.4 2021/03/12 05:18:00 jsg Exp $
+.\" $OpenBSD: BN_set_flags.3,v 1.5 2021/12/06 19:45:27 schwarze Exp $
.\"
.\" Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: March 12 2021 $
+.Dd $Mdocdate: December 6 2021 $
.Dt BN_SET_FLAGS 3
.Os
.Sh NAME
.Fa flags
argument has the same syntax as for
.Fn BN_set_flags .
-.Pp
-These functions are currently implemented as macros, but they are
-likely to become real functions in the future when the
-.Vt BIGNUM
-data type will be made opaque.
.Sh RETURN VALUES
.Fn BN_get_flags
returns zero or more of the above constants, OR'ed together.
-.\" $OpenBSD: BN_set_negative.3,v 1.5 2019/06/03 14:43:15 schwarze Exp $
+.\" $OpenBSD: BN_set_negative.3,v 1.6 2021/12/06 19:45:27 schwarze Exp $
.\"
.\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 3 2019 $
+.Dd $Mdocdate: December 6 2021 $
.Dt BN_SET_NEGATIVE 3
.Os
.Sh NAME
.Fn BN_is_negative
tests the sign of
.Fa b .
-It is currently implemented as a macro.
.Sh RETURN VALUES
.Fn BN_is_negative
returns 1 if