summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2018-03-20 20:26:23 +0000
committerschwarze <schwarze@openbsd.org>2018-03-20 20:26:23 +0000
commit0c85fcf7a3654521c5dbc57501c5d0b858c3c1f9 (patch)
tree32587bec425bbfd388b94ebaa5587e52007ec1a8 /lib
parentbio.h HISTORY up to SSLeay 0.8.1b; researched from OpenSSL git (diff)
downloadwireguard-openbsd-0c85fcf7a3654521c5dbc57501c5d0b858c3c1f9.tar.xz
wireguard-openbsd-0c85fcf7a3654521c5dbc57501c5d0b858c3c1f9.zip
bn.h HISTORY up to SSLeay 0.8.1b; researched from OpenSSL git
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/man/BN_CTX_new.310
-rw-r--r--lib/libcrypto/man/BN_add.39
-rw-r--r--lib/libcrypto/man/BN_add_word.313
-rw-r--r--lib/libcrypto/man/BN_bn2bin.313
-rw-r--r--lib/libcrypto/man/BN_cmp.312
-rw-r--r--lib/libcrypto/man/BN_copy.37
-rw-r--r--lib/libcrypto/man/BN_generate_prime.310
-rw-r--r--lib/libcrypto/man/BN_mod_inverse.37
-rw-r--r--lib/libcrypto/man/BN_mod_mul_montgomery.311
-rw-r--r--lib/libcrypto/man/BN_mod_mul_reciprocal.38
-rw-r--r--lib/libcrypto/man/BN_new.310
-rw-r--r--lib/libcrypto/man/BN_num_bytes.311
-rw-r--r--lib/libcrypto/man/BN_rand.311
-rw-r--r--lib/libcrypto/man/BN_set_bit.37
-rw-r--r--lib/libcrypto/man/BN_zero.310
-rw-r--r--lib/libcrypto/man/ERR_load_crypto_strings.312
16 files changed, 96 insertions, 65 deletions
diff --git a/lib/libcrypto/man/BN_CTX_new.3 b/lib/libcrypto/man/BN_CTX_new.3
index c450848697c..61a56019bfd 100644
--- a/lib/libcrypto/man/BN_CTX_new.3
+++ b/lib/libcrypto/man/BN_CTX_new.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_CTX_new.3,v 1.5 2016/12/10 21:13:25 schwarze Exp $
+.\" $OpenBSD: BN_CTX_new.3,v 1.6 2018/03/20 20:26:23 schwarze Exp $
.\" OpenSSL aafbe1cc Jun 12 23:42:08 2013 +0100
.\"
.\" 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 10 2016 $
+.Dd $Mdocdate: March 20 2018 $
.Dt BN_CTX_NEW 3
.Os
.Sh NAME
@@ -136,6 +136,8 @@ and sets an error code that can be obtained by
.Fn BN_CTX_new
and
.Fn BN_CTX_free
-are available in all versions of SSLeay and OpenSSL.
+appeared before SSLeay 0.8 and have been available since
+.Ox 2.4 .
+.Pp
.Fn BN_CTX_init
-was added in SSLeay 0.9.1b.
+first appeared in SSLeay 0.9.1b.
diff --git a/lib/libcrypto/man/BN_add.3 b/lib/libcrypto/man/BN_add.3
index a275dbfe950..298761fddc7 100644
--- a/lib/libcrypto/man/BN_add.3
+++ b/lib/libcrypto/man/BN_add.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_add.3,v 1.7 2017/01/30 01:29:31 schwarze Exp $
+.\" $OpenBSD: BN_add.3,v 1.8 2018/03/20 20:26:23 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>
@@ -49,7 +49,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 30 2017 $
+.Dd $Mdocdate: March 20 2018 $
.Dt BN_ADD 3
.Os
.Sh NAME
@@ -389,6 +389,7 @@ The error codes can be obtained by
.Sh HISTORY
.Fn BN_add ,
.Fn BN_sub ,
+.Fn BN_mul ,
.Fn BN_sqr ,
.Fn BN_div ,
.Fn BN_mod ,
@@ -396,7 +397,9 @@ The error codes can be obtained by
.Fn BN_mod_exp ,
and
.Fn BN_gcd
-are available in all versions of SSLeay and OpenSSL.
+appeared before SSLeay 0.8 and have been available since
+.Ox 2.4 .
+.Pp
The
.Fa ctx
argument to
diff --git a/lib/libcrypto/man/BN_add_word.3 b/lib/libcrypto/man/BN_add_word.3
index e0a4b30170b..9e65f93106d 100644
--- a/lib/libcrypto/man/BN_add_word.3
+++ b/lib/libcrypto/man/BN_add_word.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_add_word.3,v 1.5 2016/12/10 21:13:25 schwarze Exp $
+.\" $OpenBSD: BN_add_word.3,v 1.6 2018/03/20 20:26:23 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" 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 10 2016 $
+.Dd $Mdocdate: March 20 2018 $
.Dt BN_ADD_WORD 3
.Os
.Sh NAME
@@ -158,13 +158,16 @@ if an error occurred.
.Fn BN_add_word
and
.Fn BN_mod_word
-are available in all versions of SSLeay and OpenSSL.
+appeared before SSLeay 0.8.
.Fn BN_div_word
-was added in SSLeay 0.8, and
+first appeared in SSLeay 0.8.
+These functions have been available since
+.Ox 2.4 .
+.Pp
.Fn BN_sub_word
and
.Fn BN_mul_word
-in SSLeay 0.9.0.
+first appeared in SSLeay 0.9.0.
.Pp
Before 0.9.8a, the return value for
.Fn BN_div_word
diff --git a/lib/libcrypto/man/BN_bn2bin.3 b/lib/libcrypto/man/BN_bn2bin.3
index 2ff597a557e..a5945a6f867 100644
--- a/lib/libcrypto/man/BN_bn2bin.3
+++ b/lib/libcrypto/man/BN_bn2bin.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_bn2bin.3,v 1.6 2017/01/25 16:12:45 schwarze Exp $
+.\" $OpenBSD: BN_bn2bin.3,v 1.7 2018/03/20 20:26:23 schwarze Exp $
.\" OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400
.\"
.\" 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: January 25 2017 $
+.Dd $Mdocdate: March 20 2018 $
.Dt BN_BN2BIN 3
.Os
.Sh NAME
@@ -301,10 +301,11 @@ The error codes can be obtained by
.Sh HISTORY
.Fn BN_bn2bin ,
.Fn BN_bin2bn ,
-.Fn BN_print_fp ,
+.Fn BN_print ,
and
-.Fn BN_print
-are available in all versions of SSLeay and OpenSSL.
+.Fn BN_print_fp
+appeared before SSLeay 0.8 and have been available since
+.Ox 2.4 .
.Pp
.Fn BN_bn2hex ,
.Fn BN_bn2dec ,
@@ -313,4 +314,4 @@ are available in all versions of SSLeay and OpenSSL.
.Fn BN_bn2mpi ,
and
.Fn BN_mpi2bn
-were added in SSLeay 0.9.0.
+first appeared in SSLeay 0.9.0.
diff --git a/lib/libcrypto/man/BN_cmp.3 b/lib/libcrypto/man/BN_cmp.3
index bd79c905d76..6be8fd48544 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.4 2016/12/10 21:13:25 schwarze Exp $
+.\" $OpenBSD: BN_cmp.3,v 1.5 2018/03/20 20:26:23 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" 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 10 2016 $
+.Dd $Mdocdate: March 20 2018 $
.Dt BN_CMP 3
.Os
.Sh NAME
@@ -141,9 +141,11 @@ return 1 if the condition is true, 0 otherwise.
.Fn BN_cmp ,
.Fn BN_ucmp ,
.Fn BN_is_zero ,
-.Fn BN_is_one
+.Fn BN_is_one ,
and
.Fn BN_is_word
-are available in all versions of SSLeay and OpenSSL.
+appeared before SSLeay 0.8.
.Fn BN_is_odd
-was added in SSLeay 0.8.
+first appeared in SSLeay 0.8.
+All these functions have been available since
+.Ox 2.4 .
diff --git a/lib/libcrypto/man/BN_copy.3 b/lib/libcrypto/man/BN_copy.3
index 398cf1f8ecb..873d2946202 100644
--- a/lib/libcrypto/man/BN_copy.3
+++ b/lib/libcrypto/man/BN_copy.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_copy.3,v 1.6 2017/01/30 01:29:31 schwarze Exp $
+.\" $OpenBSD: BN_copy.3,v 1.7 2018/03/20 20:26:23 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>
@@ -49,7 +49,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 30 2017 $
+.Dd $Mdocdate: March 20 2018 $
.Dt BN_COPY 3
.Os
.Sh NAME
@@ -156,4 +156,5 @@ The error codes can be obtained by
.Fn BN_copy
and
.Fn BN_dup
-are available in all versions of SSLeay and OpenSSL.
+appeared before SSLeay 0.8 and have been available since
+.Ox 2.4 .
diff --git a/lib/libcrypto/man/BN_generate_prime.3 b/lib/libcrypto/man/BN_generate_prime.3
index b3926afaa9a..f4864cb8330 100644
--- a/lib/libcrypto/man/BN_generate_prime.3
+++ b/lib/libcrypto/man/BN_generate_prime.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_generate_prime.3,v 1.7 2018/02/23 12:16:08 schwarze Exp $
+.\" $OpenBSD: BN_generate_prime.3,v 1.8 2018/03/20 20:26:23 schwarze Exp $
.\" full merge up to: OpenSSL b3696a55 Sep 2 09:35:50 2017 -0400
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>
@@ -50,7 +50,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: February 23 2018 $
+.Dd $Mdocdate: March 20 2018 $
.Dt BN_GENERATE_PRIME 3
.Os
.Sh NAME
@@ -376,6 +376,12 @@ The error codes can be obtained by
.Xr ERR_get_error 3 ,
.Xr RAND_bytes 3
.Sh HISTORY
+.Fn BN_generate_prime
+and
+.Fn BN_is_prime
+appeared before SSLeay 0.8 and have been available since
+.Ox 2.4 .
+.Pp
The
.Fa cb_arg
arguments to
diff --git a/lib/libcrypto/man/BN_mod_inverse.3 b/lib/libcrypto/man/BN_mod_inverse.3
index f407fa71e8a..a3a05c86d2a 100644
--- a/lib/libcrypto/man/BN_mod_inverse.3
+++ b/lib/libcrypto/man/BN_mod_inverse.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_mod_inverse.3,v 1.6 2017/01/30 01:29:31 schwarze Exp $
+.\" $OpenBSD: BN_mod_inverse.3,v 1.7 2018/03/20 20:26:23 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" 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: January 30 2017 $
+.Dd $Mdocdate: March 20 2018 $
.Dt BN_MOD_INVERSE 3
.Os
.Sh NAME
@@ -106,4 +106,5 @@ The error codes can be obtained by
.Xr BN_set_flags 3
.Sh HISTORY
.Fn BN_mod_inverse
-is available in all versions of SSLeay and OpenSSL.
+appeared before SSLeay 0.8 and has been available since
+.Ox 2.4 .
diff --git a/lib/libcrypto/man/BN_mod_mul_montgomery.3 b/lib/libcrypto/man/BN_mod_mul_montgomery.3
index 60791d4bf25..16a90cb0974 100644
--- a/lib/libcrypto/man/BN_mod_mul_montgomery.3
+++ b/lib/libcrypto/man/BN_mod_mul_montgomery.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_mod_mul_montgomery.3,v 1.7 2017/01/30 07:51:27 jmc Exp $
+.\" $OpenBSD: BN_mod_mul_montgomery.3,v 1.8 2018/03/20 20:26:23 schwarze Exp $
.\" OpenSSL 6859cf74 Sep 25 13:33:28 2002 +0000
.\"
.\" 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: January 30 2017 $
+.Dd $Mdocdate: March 20 2018 $
.Dt BN_MOD_MUL_MONTGOMERY 3
.Os
.Sh NAME
@@ -222,15 +222,16 @@ The error codes can be obtained by
.Fn BN_MONT_CTX_free ,
.Fn BN_MONT_CTX_set ,
.Fn BN_mod_mul_montgomery ,
-.Fn BN_from_montgomery
+.Fn BN_from_montgomery ,
and
.Fn BN_to_montgomery
-are available in all versions of SSLeay and OpenSSL.
+appeared before SSLeay 0.8 and have been available since
+.Ox 2.4 .
.Pp
.Fn BN_MONT_CTX_init
and
.Fn BN_MONT_CTX_copy
-were added in SSLeay 0.9.1b.
+first appeared in SSLeay 0.9.1b.
.Sh CAVEATS
.Fn BN_MONT_CTX_init
must not be called on a context that was used previously, or
diff --git a/lib/libcrypto/man/BN_mod_mul_reciprocal.3 b/lib/libcrypto/man/BN_mod_mul_reciprocal.3
index f2e2ac29870..d484bd188a2 100644
--- a/lib/libcrypto/man/BN_mod_mul_reciprocal.3
+++ b/lib/libcrypto/man/BN_mod_mul_reciprocal.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_mod_mul_reciprocal.3,v 1.7 2017/01/30 07:51:27 jmc Exp $
+.\" $OpenBSD: BN_mod_mul_reciprocal.3,v 1.8 2018/03/20 20:26:23 schwarze Exp $
.\" OpenSSL 6859cf74 Sep 25 13:33:28 2002 +0000
.\"
.\" 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: January 30 2017 $
+.Dd $Mdocdate: March 20 2018 $
.Dt BN_MOD_MUL_RECIPROCAL 3
.Os
.Sh NAME
@@ -190,6 +190,10 @@ The error codes can be obtained by
.Xr BN_CTX_new 3 ,
.Xr BN_new 3
.Sh HISTORY
+.Fn BN_mod_mul_reciprocal
+appeared before SSLeay 0.8 and has been available since
+.Ox 2.4 .
+.Pp
.Vt BN_RECP_CTX
was added in SSLeay 0.9.0.
Before that, a function
diff --git a/lib/libcrypto/man/BN_new.3 b/lib/libcrypto/man/BN_new.3
index 87bdd705344..84e6a79e03e 100644
--- a/lib/libcrypto/man/BN_new.3
+++ b/lib/libcrypto/man/BN_new.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_new.3,v 1.10 2018/02/13 01:59:16 schwarze Exp $
+.\" $OpenBSD: BN_new.3,v 1.11 2018/03/20 20:26:23 schwarze Exp $
.\" full merge up to: OpenSSL man3/BN_new 2457c19d Mar 6 08:43:36 2004 +0000
.\" selective merge up to: man3/BN_new 681acb31 Sep 29 13:10:34 2017 +0200
.\" full merge up to: OpenSSL man7/bn 05ea606a May 20 20:52:46 2016 -0400
@@ -50,7 +50,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: February 13 2018 $
+.Dd $Mdocdate: March 20 2018 $
.Dt BN_NEW 3
.Os
.Sh NAME
@@ -166,9 +166,11 @@ and sets an error code that can be obtained by
.Fn BN_free ,
and
.Fn BN_clear_free
-are available in all versions of SSLeay and OpenSSL.
+appeared before SSLeay 0.8 and have been available since
+.Ox 2.4 .
+.Pp
.Fn BN_init
-was added in SSLeay 0.9.1b.
+first appeared in SSLeay 0.9.1b.
.Sh CAVEATS
.Fn BN_init
must not be called on a
diff --git a/lib/libcrypto/man/BN_num_bytes.3 b/lib/libcrypto/man/BN_num_bytes.3
index 96538950cbe..a95f47f9d95 100644
--- a/lib/libcrypto/man/BN_num_bytes.3
+++ b/lib/libcrypto/man/BN_num_bytes.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_num_bytes.3,v 1.5 2016/12/10 21:13:25 schwarze Exp $
+.\" $OpenBSD: BN_num_bytes.3,v 1.6 2018/03/20 20:26:23 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>
@@ -49,7 +49,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 10 2016 $
+.Dd $Mdocdate: March 20 2018 $
.Dt BN_NUM_BYTES 3
.Os
.Sh NAME
@@ -120,8 +120,5 @@ The size.
.Xr DSA_size 3 ,
.Xr RSA_size 3
.Sh HISTORY
-.Fn BN_num_bytes ,
-.Fn BN_num_bits ,
-and
-.Fn BN_num_bits_word
-are available in all versions of SSLeay and OpenSSL.
+These functions appeared before SSLeay 0.8 and have been available since
+.Ox 2.4 .
diff --git a/lib/libcrypto/man/BN_rand.3 b/lib/libcrypto/man/BN_rand.3
index b2cb315436c..b8d225057d5 100644
--- a/lib/libcrypto/man/BN_rand.3
+++ b/lib/libcrypto/man/BN_rand.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_rand.3,v 1.6 2016/12/10 21:13:25 schwarze Exp $
+.\" $OpenBSD: BN_rand.3,v 1.7 2018/03/20 20:26:23 schwarze Exp $
.\" OpenSSL 05ea606a May 20 20:52:46 2016 -0400
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>.
@@ -49,7 +49,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 10 2016 $
+.Dd $Mdocdate: March 20 2018 $
.Dt BN_RAND 3
.Os
.Sh NAME
@@ -139,9 +139,12 @@ The error codes can be obtained by
.Xr RAND_bytes 3
.Sh HISTORY
.Fn BN_rand
-is available in all versions of SSLeay and OpenSSL.
+appeared before SSLeay 0.8 and has been available since
+.Ox 2.4 .
+.Pp
.Fn BN_pseudo_rand
-was added in OpenSSL 0.9.5.
+first appeared in OpenSSL 0.9.5.
+.Pp
The
.Fa top
== -1 case and the function
diff --git a/lib/libcrypto/man/BN_set_bit.3 b/lib/libcrypto/man/BN_set_bit.3
index 077ca69ce02..edaa41d2450 100644
--- a/lib/libcrypto/man/BN_set_bit.3
+++ b/lib/libcrypto/man/BN_set_bit.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_set_bit.3,v 1.5 2016/12/10 21:13:25 schwarze Exp $
+.\" $OpenBSD: BN_set_bit.3,v 1.6 2018/03/20 20:26:23 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" 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 10 2016 $
+.Dd $Mdocdate: March 20 2018 $
.Dt BN_SET_BIT 3
.Os
.Sh NAME
@@ -212,4 +212,5 @@ The error codes can be obtained by
.Fn BN_rshift ,
and
.Fn BN_rshift1
-are available in all versions of SSLeay and OpenSSL.
+appeared before SSLeay 0.8 and have been available since
+.Ox 2.4 .
diff --git a/lib/libcrypto/man/BN_zero.3 b/lib/libcrypto/man/BN_zero.3
index 8343beebc41..388c35fbc65 100644
--- a/lib/libcrypto/man/BN_zero.3
+++ b/lib/libcrypto/man/BN_zero.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_zero.3,v 1.7 2018/02/13 02:39:29 schwarze Exp $
+.\" $OpenBSD: BN_zero.3,v 1.8 2018/03/20 20:26:23 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
.\"
@@ -50,7 +50,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: February 13 2018 $
+.Dd $Mdocdate: March 20 2018 $
.Dt BN_ZERO 3
.Os
.Sh NAME
@@ -133,11 +133,13 @@ returns the constant.
.Fn BN_one ,
and
.Fn BN_set_word
-are available in all versions of SSLeay and OpenSSL.
+appeared before SSLeay 0.8.
.Fn BN_value_one
and
.Fn BN_get_word
-were added in SSLeay 0.8.
+first appeared in SSLeay 0.8.
+All these functions have been available since
+.Ox 2.4 .
.Pp
.Fn BN_value_one
was changed to return a true
diff --git a/lib/libcrypto/man/ERR_load_crypto_strings.3 b/lib/libcrypto/man/ERR_load_crypto_strings.3
index 812258f60af..2f1af112c31 100644
--- a/lib/libcrypto/man/ERR_load_crypto_strings.3
+++ b/lib/libcrypto/man/ERR_load_crypto_strings.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ERR_load_crypto_strings.3,v 1.5 2017/01/26 04:37:08 schwarze Exp $
+.\" $OpenBSD: ERR_load_crypto_strings.3,v 1.6 2018/03/20 20:26:23 schwarze Exp $
.\" OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400
.\"
.\" This file is a derived work.
@@ -65,7 +65,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 26 2017 $
+.Dd $Mdocdate: March 20 2018 $
.Dt ERR_LOAD_CRYPTO_STRINGS 3
.Os
.Sh NAME
@@ -120,10 +120,12 @@ frees all previously loaded error strings.
.Xr ERR_error_string 3
.Sh HISTORY
.Fn ERR_load_crypto_strings ,
-.Fn SSL_load_error_strings ,
+.Fn ERR_free_strings ,
+.Fn ERR_load_BN_strings ,
and
-.Fn ERR_free_strings
-are available in all versions of SSLeay and OpenSSL.
+.Fn SSL_load_error_strings
+appeared before SSLeay 0.8 and have been available since
+.Ox 2.4 .
.Sh BUGS
Even though the error strings are already compiled into the object
code of the library as static strings, these functions store them