summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarze <>2022-11-16 14:19:22 +0000
committerschwarze <>2022-11-16 14:19:22 +0000
commit77a3b20bb6667875feeabcc3a6d0ce661a7e86b8 (patch)
treecfbcbf43e57fdfd8e779da9715e5f6d6267ec67e
parente4d100b2d76953ebfd33dd49cc88d246f903379e (diff)
downloadopenbsd-77a3b20bb6667875feeabcc3a6d0ce661a7e86b8.tar.gz
openbsd-77a3b20bb6667875feeabcc3a6d0ce661a7e86b8.tar.bz2
openbsd-77a3b20bb6667875feeabcc3a6d0ce661a7e86b8.zip
Mark BN_mod_exp2_mont() as intentionally undocumented.
It appears to be intended for internal use by DSA_do_verify(3) and using codesearch.debian.net, i found nothing outside OpenSSL/LibreSSL using it. In April 2018, jsing@ questioned whether the five related functions BN_mod_exp_mont() and friends should even be exposed by <openssl/bn.h>, so we decided to not document them. Now tb@ agrees that there is no reason to document BN_mod_exp2_mont() as long as we don't want to document BN_mod_exp_mont().
-rw-r--r--src/lib/libcrypto/man/BN_add.37
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/BN_add.3 b/src/lib/libcrypto/man/BN_add.3
index ab2d343321..c87514721a 100644
--- a/src/lib/libcrypto/man/BN_add.3
+++ b/src/lib/libcrypto/man/BN_add.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BN_add.3,v 1.16 2021/12/20 15:02:13 schwarze Exp $ 1.\" $OpenBSD: BN_add.3,v 1.17 2022/11/16 14:19:22 schwarze Exp $
2.\" full merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100 2.\" full merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100
3.\" 3.\"
4.\" This file is a derived work. 4.\" This file is a derived work.
@@ -66,7 +66,7 @@
66.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 66.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
67.\" OF THE POSSIBILITY OF SUCH DAMAGE. 67.\" OF THE POSSIBILITY OF SUCH DAMAGE.
68.\" 68.\"
69.Dd $Mdocdate: December 20 2021 $ 69.Dd $Mdocdate: November 16 2022 $
70.Dt BN_ADD 3 70.Dt BN_ADD 3
71.Os 71.Os
72.Sh NAME 72.Sh NAME
@@ -92,11 +92,12 @@
92.Nm BN_exp , 92.Nm BN_exp ,
93.Nm BN_mod_exp , 93.Nm BN_mod_exp ,
94.\" The following are public, but intentionally undocumented for now: 94.\" The following are public, but intentionally undocumented for now:
95.\" .Nm BN_mod_exp_mont , r \(== a ^ p (mod m)
95.\" .Nm BN_mod_exp_mont_consttime , 96.\" .Nm BN_mod_exp_mont_consttime ,
96.\" .Nm BN_mod_exp_mont ,
97.\" .Nm BN_mod_exp_mont_word , 97.\" .Nm BN_mod_exp_mont_word ,
98.\" .Nm BN_mod_exp_recp , 98.\" .Nm BN_mod_exp_recp ,
99.\" .Nm BN_mod_exp_simple , 99.\" .Nm BN_mod_exp_simple ,
100.\" .Nm BN_mod_exp2_mont r \(== (a1 ^ p1) * (a2 ^ p2) (mod m)
100.\" Maybe they should be deleted from <openssl/bn.h>. 101.\" Maybe they should be deleted from <openssl/bn.h>.
101.Nm BN_gcd 102.Nm BN_gcd
102.Nd arithmetic operations on BIGNUMs 103.Nd arithmetic operations on BIGNUMs