summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-01-07 05:06:23 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-01-07 05:06:23 +0000
commita67b8360cb8f727a081ca175442ac7bd8fb15645 (patch)
treed5673c479f34f32b057391fc319a43c086760338 /lib/libcrypto
parent3841b247fb8240176063e3f77059bf8ab7a5b50a (diff)
correctly mark all documented macros found in <openssl/bn.h>
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/man/BN_add.35
-rw-r--r--lib/libcrypto/man/BN_copy.37
-rw-r--r--lib/libcrypto/man/BN_generate_prime.38
3 files changed, 11 insertions, 9 deletions
diff --git a/lib/libcrypto/man/BN_add.3 b/lib/libcrypto/man/BN_add.3
index fb9563f8225..77afec7de30 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.5 2016/12/10 21:13:25 schwarze Exp $
+.\" $OpenBSD: BN_add.3,v 1.6 2017/01/07 05:06:22 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: January 7 2017 $
.Dt BN_ADD 3
.Os
.Sh NAME
@@ -265,6 +265,7 @@ with
.Fa dv
set to
.Dv NULL .
+It is implemented as a macro.
.Pp
.Fn BN_nnmod
reduces
diff --git a/lib/libcrypto/man/BN_copy.3 b/lib/libcrypto/man/BN_copy.3
index 3ddcec6ee8c..34653be7e3b 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.4 2016/12/10 21:13:25 schwarze Exp $
+.\" $OpenBSD: BN_copy.3,v 1.5 2017/01/07 05:06:22 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: January 7 2017 $
.Dt BN_COPY 3
.Os
.Sh NAME
@@ -80,6 +80,7 @@ copies
.Fa from
to
.Fa to .
+.Pp
.Fn BN_dup
creates a new
.Vt BIGNUM
@@ -96,7 +97,7 @@ in
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 function is discouraged.
+For that reason, use of this macro is discouraged.
.Pp
Any flags provided in
.Fa flags
diff --git a/lib/libcrypto/man/BN_generate_prime.3 b/lib/libcrypto/man/BN_generate_prime.3
index 2d4592105c5..5d4f931a045 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.5 2016/12/10 21:13:25 schwarze Exp $
+.\" $OpenBSD: BN_generate_prime.3,v 1.6 2017/01/07 05:06:22 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: December 10 2016 $
+.Dd $Mdocdate: January 7 2017 $
.Dt BN_GENERATE_PRIME 3
.Os
.Sh NAME
@@ -262,7 +262,7 @@ provided for backwards compatibility purposes.
.Pp
For "new" style callbacks a
.Vt BN_GENCB
-structure should be initialised with a call to
+structure should be initialised with a call to the macro
.Fn BN_GENCB_set ,
where
.Fa gencb
@@ -276,7 +276,7 @@ and
is a
.Vt void * .
"Old" style callbacks are the same except they are initialised with a
-call to
+call to the macro
.Fn BN_GENCB_set_old
and
.Fa callback