summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/man/BN_BLINDING_new.36
-rw-r--r--lib/libcrypto/man/BN_CTX_new.36
-rw-r--r--lib/libcrypto/man/BN_CTX_start.37
-rw-r--r--lib/libcrypto/man/BN_add.36
-rw-r--r--lib/libcrypto/man/BN_add_word.36
-rw-r--r--lib/libcrypto/man/BN_bn2bin.36
-rw-r--r--lib/libcrypto/man/BN_cmp.36
-rw-r--r--lib/libcrypto/man/BN_copy.36
-rw-r--r--lib/libcrypto/man/BN_generate_prime.36
-rw-r--r--lib/libcrypto/man/BN_get0_nist_prime_521.36
-rw-r--r--lib/libcrypto/man/BN_mod_inverse.36
-rw-r--r--lib/libcrypto/man/BN_mod_mul_montgomery.36
-rw-r--r--lib/libcrypto/man/BN_mod_mul_reciprocal.36
-rw-r--r--lib/libcrypto/man/BN_num_bytes.36
-rw-r--r--lib/libcrypto/man/BN_rand.36
-rw-r--r--lib/libcrypto/man/BN_set_bit.36
-rw-r--r--lib/libcrypto/man/BN_set_negative.35
-rw-r--r--lib/libcrypto/man/BN_swap.36
-rw-r--r--lib/libcrypto/man/BN_zero.36
-rw-r--r--lib/libcrypto/man/bn_dump.36
-rw-r--r--lib/libcrypto/man/crypto.36
-rw-r--r--lib/libcrypto/man/dh.36
-rw-r--r--lib/libcrypto/man/dsa.36
-rw-r--r--lib/libcrypto/man/rsa.36
24 files changed, 74 insertions, 70 deletions
diff --git a/lib/libcrypto/man/BN_BLINDING_new.3 b/lib/libcrypto/man/BN_BLINDING_new.3
index 8b01c241f4c..00b55f54eab 100644
--- a/lib/libcrypto/man/BN_BLINDING_new.3
+++ b/lib/libcrypto/man/BN_BLINDING_new.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_BLINDING_new.3,v 1.5 2016/11/20 01:58:35 schwarze Exp $
+.\" $OpenBSD: BN_BLINDING_new.3,v 1.6 2016/12/10 21:13:25 schwarze Exp $
.\" OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400
.\"
.\" This file was written by Nils Larsch <nils@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: November 20 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_BLINDING_NEW 3
.Os
.Sh NAME
@@ -302,7 +302,7 @@ parameters or
.Dv NULL
on error.
.Sh SEE ALSO
-.Xr bn 3
+.Xr BN_new 3
.Sh HISTORY
.Fn BN_BLINDING_thread_id
was first introduced in OpenSSL 1.0.0, and it deprecates
diff --git a/lib/libcrypto/man/BN_CTX_new.3 b/lib/libcrypto/man/BN_CTX_new.3
index 34fa4e33391..c450848697c 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.4 2016/11/20 15:46:43 schwarze Exp $
+.\" $OpenBSD: BN_CTX_new.3,v 1.5 2016/12/10 21:13:25 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: November 20 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_CTX_NEW 3
.Os
.Sh NAME
@@ -128,9 +128,9 @@ If the allocation fails, it returns
and sets an error code that can be obtained by
.Xr ERR_get_error 3 .
.Sh SEE ALSO
-.Xr bn 3 ,
.Xr BN_add 3 ,
.Xr BN_CTX_start 3 ,
+.Xr BN_new 3 ,
.Xr ERR_get_error 3
.Sh HISTORY
.Fn BN_CTX_new
diff --git a/lib/libcrypto/man/BN_CTX_start.3 b/lib/libcrypto/man/BN_CTX_start.3
index 46ebfd386d3..2b48d892e5a 100644
--- a/lib/libcrypto/man/BN_CTX_start.3
+++ b/lib/libcrypto/man/BN_CTX_start.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_CTX_start.3,v 1.5 2016/12/08 22:13:59 jmc Exp $
+.\" $OpenBSD: BN_CTX_start.3,v 1.6 2016/12/10 21:13:25 schwarze Exp $
.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -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: December 8 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_CTX_START 3
.Os
.Sh NAME
@@ -121,7 +121,8 @@ call.
In case of an error, an error code is set which can be obtained by
.Xr ERR_get_error 3 .
.Sh SEE ALSO
-.Xr BN_CTX_new 3
+.Xr BN_CTX_new 3 ,
+.Xr BN_new 3
.Sh HISTORY
.Fn BN_CTX_start ,
.Fn BN_CTX_get ,
diff --git a/lib/libcrypto/man/BN_add.3 b/lib/libcrypto/man/BN_add.3
index 72343c47d30..fb9563f8225 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.4 2016/11/20 15:57:50 schwarze Exp $
+.\" $OpenBSD: BN_add.3,v 1.5 2016/12/10 21:13:25 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: November 20 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_ADD 3
.Os
.Sh NAME
@@ -379,9 +379,9 @@ The return value should always be checked, for example:
The error codes can be obtained by
.Xr ERR_get_error 3 .
.Sh SEE ALSO
-.Xr bn 3 ,
.Xr BN_add_word 3 ,
.Xr BN_CTX_new 3 ,
+.Xr BN_new 3 ,
.Xr BN_set_bit 3 ,
.Xr BN_set_negative 3 ,
.Xr ERR_get_error 3
diff --git a/lib/libcrypto/man/BN_add_word.3 b/lib/libcrypto/man/BN_add_word.3
index 950a035a72a..e0a4b30170b 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.4 2016/11/20 16:27:14 schwarze Exp $
+.\" $OpenBSD: BN_add_word.3,v 1.5 2016/12/10 21:13:25 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: November 20 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_ADD_WORD 3
.Os
.Sh NAME
@@ -151,8 +151,8 @@ on success and
.Po Vt BN_ULONG Pc Ns -1
if an error occurred.
.Sh SEE ALSO
-.Xr bn 3 ,
.Xr BN_add 3 ,
+.Xr BN_new 3 ,
.Xr ERR_get_error 3
.Sh HISTORY
.Fn BN_add_word
diff --git a/lib/libcrypto/man/BN_bn2bin.3 b/lib/libcrypto/man/BN_bn2bin.3
index 082ae6ee535..01a33c9ac48 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.4 2016/11/20 16:30:22 schwarze Exp $
+.\" $OpenBSD: BN_bn2bin.3,v 1.5 2016/12/10 21:13:25 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: November 20 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_BN2BIN 3
.Os
.Sh NAME
@@ -270,7 +270,7 @@ on error.
The error codes can be obtained by
.Xr ERR_get_error 3 .
.Sh SEE ALSO
-.Xr bn 3 ,
+.Xr BN_new 3 ,
.Xr BN_num_bytes 3 ,
.Xr BN_zero 3 ,
.Xr ERR_get_error 3
diff --git a/lib/libcrypto/man/BN_cmp.3 b/lib/libcrypto/man/BN_cmp.3
index f7a8ef44f83..bd79c905d76 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.3 2016/11/20 16:37:02 schwarze Exp $
+.\" $OpenBSD: BN_cmp.3,v 1.4 2016/12/10 21:13:25 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: November 20 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_CMP 3
.Os
.Sh NAME
@@ -136,7 +136,7 @@ and
.Fn BN_is_odd
return 1 if the condition is true, 0 otherwise.
.Sh SEE ALSO
-.Xr bn 3
+.Xr BN_new 3
.Sh HISTORY
.Fn BN_cmp ,
.Fn BN_ucmp ,
diff --git a/lib/libcrypto/man/BN_copy.3 b/lib/libcrypto/man/BN_copy.3
index f6110863a0c..3ddcec6ee8c 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.3 2016/11/20 16:51:02 schwarze Exp $
+.\" $OpenBSD: BN_copy.3,v 1.4 2016/12/10 21:13:25 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: November 20 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_COPY 3
.Os
.Sh NAME
@@ -149,7 +149,7 @@ on error.
The error codes can be obtained by
.Xr ERR_get_error 3 .
.Sh SEE ALSO
-.Xr bn 3 ,
+.Xr BN_new 3 ,
.Xr ERR_get_error 3
.Sh HISTORY
.Fn BN_copy
diff --git a/lib/libcrypto/man/BN_generate_prime.3 b/lib/libcrypto/man/BN_generate_prime.3
index a26b7f7edbc..2d4592105c5 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.4 2016/11/21 09:56:35 schwarze Exp $
+.\" $OpenBSD: BN_generate_prime.3,v 1.5 2016/12/10 21:13:25 schwarze Exp $
.\" OpenSSL 2afb29b4 Aug 14 16:47:13 2014 -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: November 21 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_GENERATE_PRIME 3
.Os
.Sh NAME
@@ -331,7 +331,7 @@ Callback functions should return 1 on success or 0 on error.
The error codes can be obtained by
.Xr ERR_get_error 3 .
.Sh SEE ALSO
-.Xr bn 3 ,
+.Xr BN_new 3 ,
.Xr ERR_get_error 3 ,
.Xr RAND_bytes 3
.Sh HISTORY
diff --git a/lib/libcrypto/man/BN_get0_nist_prime_521.3 b/lib/libcrypto/man/BN_get0_nist_prime_521.3
index d1ae928ba23..85cfa23c3cb 100644
--- a/lib/libcrypto/man/BN_get0_nist_prime_521.3
+++ b/lib/libcrypto/man/BN_get0_nist_prime_521.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_get0_nist_prime_521.3,v 1.2 2016/11/21 16:33:56 jmc Exp $
+.\" $OpenBSD: BN_get0_nist_prime_521.3,v 1.3 2016/12/10 21:13:25 schwarze Exp $
.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
.\"
.\" This file was written by Rich Salz <rsalz@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: November 21 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_GET0_NIST_PRIME_521 3
.Os
.Sh NAME
@@ -81,3 +81,5 @@ and
functions return a
.Vt BIGNUM
for the specific NIST prime curve (e.g. P-256).
+.Sh SEE ALSO
+.Xr BN_new
diff --git a/lib/libcrypto/man/BN_mod_inverse.3 b/lib/libcrypto/man/BN_mod_inverse.3
index e252e09c977..6817fc2a3f3 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.4 2016/11/20 17:18:10 schwarze Exp $
+.\" $OpenBSD: BN_mod_inverse.3,v 1.5 2016/12/10 21:13:25 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: November 20 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_MOD_INVERSE 3
.Os
.Sh NAME
@@ -101,8 +101,8 @@ on error.
The error codes can be obtained by
.Xr ERR_get_error 3 .
.Sh SEE ALSO
-.Xr bn 3 ,
.Xr BN_add 3 ,
+.Xr BN_new 3 ,
.Xr ERR_get_error 3
.Sh HISTORY
.Fn BN_mod_inverse
diff --git a/lib/libcrypto/man/BN_mod_mul_montgomery.3 b/lib/libcrypto/man/BN_mod_mul_montgomery.3
index 2012860ec70..8b06cb62175 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.4 2016/11/20 17:47:18 schwarze Exp $
+.\" $OpenBSD: BN_mod_mul_montgomery.3,v 1.5 2016/12/10 21:13:25 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: November 20 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_MOD_MUL_MONTGOMERY 3
.Os
.Sh NAME
@@ -211,9 +211,9 @@ For the other functions, 1 is returned for success or 0 on error.
The error codes can be obtained by
.Xr ERR_get_error 3 .
.Sh SEE ALSO
-.Xr bn 3 ,
.Xr BN_add 3 ,
.Xr BN_CTX_new 3 ,
+.Xr BN_new 3 ,
.Xr ERR_get_error 3
.Sh HISTORY
.Fn BN_MONT_CTX_new ,
diff --git a/lib/libcrypto/man/BN_mod_mul_reciprocal.3 b/lib/libcrypto/man/BN_mod_mul_reciprocal.3
index ec895a5d375..74783b2f55e 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.4 2016/11/20 17:47:18 schwarze Exp $
+.\" $OpenBSD: BN_mod_mul_reciprocal.3,v 1.5 2016/12/10 21:13:25 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: November 20 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_MOD_MUL_RECIPROCAL 3
.Os
.Sh NAME
@@ -183,9 +183,9 @@ For the other functions, 1 is returned for success or 0 on error.
The error codes can be obtained by
.Xr ERR_get_error 3 .
.Sh SEE ALSO
-.Xr bn 3 ,
.Xr BN_add 3 ,
.Xr BN_CTX_new 3 ,
+.Xr BN_new 3 ,
.Xr ERR_get_error 3
.Sh HISTORY
.Vt BN_RECP_CTX
diff --git a/lib/libcrypto/man/BN_num_bytes.3 b/lib/libcrypto/man/BN_num_bytes.3
index fa3aac1c174..96538950cbe 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.4 2016/11/20 17:58:44 schwarze Exp $
+.\" $OpenBSD: BN_num_bytes.3,v 1.5 2016/12/10 21:13:25 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: November 20 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_NUM_BYTES 3
.Os
.Sh NAME
@@ -115,7 +115,7 @@ the "key size", just a lot more probability).
.Sh RETURN VALUES
The size.
.Sh SEE ALSO
-.Xr bn 3 ,
+.Xr BN_new 3 ,
.Xr DH_size 3 ,
.Xr DSA_size 3 ,
.Xr RSA_size 3
diff --git a/lib/libcrypto/man/BN_rand.3 b/lib/libcrypto/man/BN_rand.3
index 1804bd051f2..b2cb315436c 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.5 2016/11/21 09:56:35 schwarze Exp $
+.\" $OpenBSD: BN_rand.3,v 1.6 2016/12/10 21:13:25 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: November 21 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_RAND 3
.Os
.Sh NAME
@@ -133,7 +133,7 @@ The functions return 1 on success, 0 on error.
The error codes can be obtained by
.Xr ERR_get_error 3 .
.Sh SEE ALSO
-.Xr bn 3 ,
+.Xr BN_new 3 ,
.Xr ERR_get_error 3 ,
.Xr RAND_add 3 ,
.Xr RAND_bytes 3
diff --git a/lib/libcrypto/man/BN_set_bit.3 b/lib/libcrypto/man/BN_set_bit.3
index 6a7ce911137..077ca69ce02 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.4 2016/11/20 18:11:40 schwarze Exp $
+.\" $OpenBSD: BN_set_bit.3,v 1.5 2016/12/10 21:13:25 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: November 20 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_SET_BIT 3
.Os
.Sh NAME
@@ -197,8 +197,8 @@ All other functions return 1 for success, 0 on error.
The error codes can be obtained by
.Xr ERR_get_error 3 .
.Sh SEE ALSO
-.Xr bn 3 ,
.Xr BN_add 3 ,
+.Xr BN_new 3 ,
.Xr BN_num_bytes 3 ,
.Xr BN_set_negative 3 ,
.Xr BN_zero 3
diff --git a/lib/libcrypto/man/BN_set_negative.3 b/lib/libcrypto/man/BN_set_negative.3
index 166e2f2971e..29cb2d95cfa 100644
--- a/lib/libcrypto/man/BN_set_negative.3
+++ b/lib/libcrypto/man/BN_set_negative.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_set_negative.3,v 1.2 2016/11/08 22:19:45 jmc Exp $
+.\" $OpenBSD: BN_set_negative.3,v 1.3 2016/12/10 21:13:25 schwarze Exp $
.\"
.\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 8 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_SET_NEGATIVE 3
.Os
.Sh NAME
@@ -52,5 +52,6 @@ returns 1 if
is negative or 0 otherwise.
.Sh SEE ALSO
.Xr BN_add 3 ,
+.Xr BN_new 3 ,
.Xr BN_set_bit 3 ,
.Xr BN_zero 3
diff --git a/lib/libcrypto/man/BN_swap.3 b/lib/libcrypto/man/BN_swap.3
index 5bbf8e063d5..087ca490daf 100644
--- a/lib/libcrypto/man/BN_swap.3
+++ b/lib/libcrypto/man/BN_swap.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BN_swap.3,v 1.3 2016/11/20 18:38:44 schwarze Exp $
+.\" $OpenBSD: BN_swap.3,v 1.4 2016/12/10 21:13:25 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file was written by Bodo Moeller <bodo@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: November 20 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_SWAP 3
.Os
.Sh NAME
@@ -68,6 +68,6 @@ exchanges the values of
and
.Fa b .
.Sh SEE ALSO
-.Xr bn 3
+.Xr BN_new 3
.Sh HISTORY
BN_swap was added in OpenSSL 0.9.7.
diff --git a/lib/libcrypto/man/BN_zero.3 b/lib/libcrypto/man/BN_zero.3
index 9724222a568..49d08717e4b 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.5 2016/11/20 18:38:44 schwarze Exp $
+.\" $OpenBSD: BN_zero.3,v 1.6 2016/12/10 21:13:25 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: November 20 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_ZERO 3
.Os
.Sh NAME
@@ -124,8 +124,8 @@ return 1 on success, 0 otherwise.
.Fn BN_value_one
returns the constant.
.Sh SEE ALSO
-.Xr bn 3 ,
.Xr BN_bn2bin 3 ,
+.Xr BN_new 3 ,
.Xr BN_set_bit 3 ,
.Xr BN_set_negative 3
.Sh HISTORY
diff --git a/lib/libcrypto/man/bn_dump.3 b/lib/libcrypto/man/bn_dump.3
index b912e3a473c..b8de5febb41 100644
--- a/lib/libcrypto/man/bn_dump.3
+++ b/lib/libcrypto/man/bn_dump.3
@@ -1,6 +1,6 @@
-.\" $OpenBSD: bn_dump.3,v 1.4 2016/12/03 13:36:03 jmc Exp $
+.\" $OpenBSD: bn_dump.3,v 1.5 2016/12/10 21:13:25 schwarze Exp $
.\"
-.Dd $Mdocdate: December 3 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt BN_DUMP 3
.Os
.Sh NAME
@@ -714,4 +714,4 @@ and
.Fn bn_set_max
are defined as empty macros.
.Sh SEE ALSO
-.Xr bn 3
+.Xr BN_new 3
diff --git a/lib/libcrypto/man/crypto.3 b/lib/libcrypto/man/crypto.3
index ea98bce36e6..bd7f5064d42 100644
--- a/lib/libcrypto/man/crypto.3
+++ b/lib/libcrypto/man/crypto.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: crypto.3,v 1.8 2016/12/06 14:29:51 schwarze Exp $
+.\" $OpenBSD: crypto.3,v 1.9 2016/12/10 21:13:25 schwarze Exp $
.\" OpenSSL a9c85cea Nov 11 09:33:55 2016 +0100
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org> and
@@ -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 6 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt CRYPTO 3
.Os
.Sh NAME
@@ -125,8 +125,8 @@ thread support, see
.Pp
.Sy Internal utilities
include
-.Xr bn 3 ,
.Xr BIO_f_buffer 3 ,
+.Xr BN_new 3 ,
.Xr ec 3 ,
.Xr lh_new 3 .
.Pp
diff --git a/lib/libcrypto/man/dh.3 b/lib/libcrypto/man/dh.3
index d599fa0783f..7429a4b6cff 100644
--- a/lib/libcrypto/man/dh.3
+++ b/lib/libcrypto/man/dh.3
@@ -1,6 +1,6 @@
-.\" $OpenBSD: dh.3,v 1.3 2016/11/06 15:57:38 schwarze Exp $
+.\" $OpenBSD: dh.3,v 1.4 2016/12/10 21:13:25 schwarze Exp $
.\"
-.Dd $Mdocdate: November 6 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt DH 3
.Os
.Sh NAME
@@ -46,7 +46,7 @@ For this reason, applications should generally avoid using
structure elements directly and instead use API functions to query
or modify keys.
.Sh SEE ALSO
-.Xr bn 3 ,
+.Xr BN_new 3 ,
.Xr d2i_DHparams 3 ,
.Xr DH_generate_key 3 ,
.Xr DH_generate_parameters 3 ,
diff --git a/lib/libcrypto/man/dsa.3 b/lib/libcrypto/man/dsa.3
index 4e552df8355..f5ad282f9e6 100644
--- a/lib/libcrypto/man/dsa.3
+++ b/lib/libcrypto/man/dsa.3
@@ -1,6 +1,6 @@
-.\" $OpenBSD: dsa.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\" $OpenBSD: dsa.3,v 1.4 2016/12/10 21:13:25 schwarze Exp $
.\"
-.Dd $Mdocdate: November 6 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt DSA 3
.Os
.Sh NAME
@@ -52,7 +52,7 @@ For this reason, applications should generally avoid using
structure elements directly and instead use API functions to query
or modify keys.
.Sh SEE ALSO
-.Xr bn 3 ,
+.Xr BN_new 3 ,
.Xr d2i_DSAPublicKey 3 ,
.Xr dh 3 ,
.Xr DSA_do_sign 3 ,
diff --git a/lib/libcrypto/man/rsa.3 b/lib/libcrypto/man/rsa.3
index 528adb378be..42ce4f72684 100644
--- a/lib/libcrypto/man/rsa.3
+++ b/lib/libcrypto/man/rsa.3
@@ -1,6 +1,6 @@
-.\" $OpenBSD: rsa.3,v 1.3 2016/11/06 15:52:50 jmc Exp $
+.\" $OpenBSD: rsa.3,v 1.4 2016/12/10 21:13:25 schwarze Exp $
.\"
-.Dd $Mdocdate: November 6 2016 $
+.Dd $Mdocdate: December 10 2016 $
.Dt RSA 3
.Os
.Sh NAME
@@ -60,7 +60,7 @@ For this reason, applications should generally avoid using
structure elements directly and instead use API functions to query
or modify keys.
.Sh SEE ALSO
-.Xr bn 3 ,
+.Xr BN_new 3 ,
.Xr d2i_RSAPublicKey 3 ,
.Xr dh 3 ,
.Xr dsa 3 ,