summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2025-03-08 16:48:22 +0000
committertb <>2025-03-08 16:48:22 +0000
commit86545567e1c326ecbbace08c880561131f1a47f8 (patch)
tree77dd5ab3dd3f3cd622f4c69040e653f77bb109fc
parent6ca389dce56888448c24801863cd71788b36bcfd (diff)
downloadopenbsd-86545567e1c326ecbbace08c880561131f1a47f8.tar.gz
openbsd-86545567e1c326ecbbace08c880561131f1a47f8.tar.bz2
openbsd-86545567e1c326ecbbace08c880561131f1a47f8.zip
Remove EC_POINTs_{make_affine,mul}() docs
-rw-r--r--src/lib/libcrypto/man/EC_POINT_add.369
1 files changed, 2 insertions, 67 deletions
diff --git a/src/lib/libcrypto/man/EC_POINT_add.3 b/src/lib/libcrypto/man/EC_POINT_add.3
index babb48ff06..cc35499c0e 100644
--- a/src/lib/libcrypto/man/EC_POINT_add.3
+++ b/src/lib/libcrypto/man/EC_POINT_add.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EC_POINT_add.3,v 1.14 2025/03/08 16:44:41 tb Exp $ 1.\" $OpenBSD: EC_POINT_add.3,v 1.15 2025/03/08 16:48:22 tb Exp $
2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" 3.\"
4.\" This file was written by Matt Caswell <matt@openssl.org>. 4.\" This file was written by Matt Caswell <matt@openssl.org>.
@@ -59,8 +59,6 @@
59.Nm EC_POINT_is_on_curve , 59.Nm EC_POINT_is_on_curve ,
60.Nm EC_POINT_cmp , 60.Nm EC_POINT_cmp ,
61.Nm EC_POINT_make_affine , 61.Nm EC_POINT_make_affine ,
62.Nm EC_POINTs_make_affine ,
63.Nm EC_POINTs_mul ,
64.Nm EC_POINT_mul 62.Nm EC_POINT_mul
65.Nd perform mathematical operations and tests on EC_POINT objects 63.Nd perform mathematical operations and tests on EC_POINT objects
66.Sh SYNOPSIS 64.Sh SYNOPSIS
@@ -112,23 +110,6 @@
112.Fa "BN_CTX *ctx" 110.Fa "BN_CTX *ctx"
113.Fc 111.Fc
114.Ft int 112.Ft int
115.Fo EC_POINTs_make_affine
116.Fa "const EC_GROUP *group"
117.Fa "size_t num"
118.Fa "EC_POINT *points[]"
119.Fa "BN_CTX *ctx"
120.Fc
121.Ft int
122.Fo EC_POINTs_mul
123.Fa "const EC_GROUP *group"
124.Fa "EC_POINT *r"
125.Fa "const BIGNUM *n"
126.Fa "size_t num"
127.Fa "const EC_POINT *p[]"
128.Fa "const BIGNUM *m[]"
129.Fa "BN_CTX *ctx"
130.Fc
131.Ft int
132.Fo EC_POINT_mul 113.Fo EC_POINT_mul
133.Fa "const EC_GROUP *group" 114.Fa "const EC_GROUP *group"
134.Fa "EC_POINT *r" 115.Fa "EC_POINT *r"
@@ -180,21 +161,6 @@ tests whether the supplied point is on the curve or not.
180compares the two supplied points and tests whether or not they are 161compares the two supplied points and tests whether or not they are
181equal. 162equal.
182.Pp 163.Pp
183The functions
184.Fn EC_POINT_make_affine
185and
186.Fn EC_POINTs_make_affine
187force the internal representation of the
188.Vt EC_POINT Ns s
189into the affine coordinate system.
190In the case of
191.Fn EC_POINTs_make_affine ,
192the value
193.Fa num
194provides the number of points in the array
195.Fa points
196to be forced.
197.Pp
198.Fn EC_POINT_mul 164.Fn EC_POINT_mul
199calculates the value 165calculates the value
200.Pp 166.Pp
@@ -210,33 +176,6 @@ in which case the result is just
210.Pp 176.Pp
211.Dl q * m. 177.Dl q * m.
212.Pp 178.Pp
213.Fn EC_POINTs_mul
214only supports the values 0 and 1 for
215.Fa num .
216If it is 1, then
217.Fn EC_POINTs_mul
218calculates the value
219.Pp
220.Dl generator * n + q[0] * m[0].
221.Pp
222If
223.Fa num
224is 0 then
225.Fa q
226and
227.Fa m
228must be
229.Dv NULL ,
230and the result is just
231.Pp
232.Dl generator * n .
233.Pp
234As for
235.Fn EC_POINT_mul ,
236the value
237.Fa n
238may be
239.Dv NULL .
240See 179See
241.Xr EC_GROUP_copy 3 180.Xr EC_GROUP_copy 3
242for information about the generator. 181for information about the generator.
@@ -246,10 +185,8 @@ The following functions return 1 on success or 0 on error:
246.Fn EC_POINT_dbl , 185.Fn EC_POINT_dbl ,
247.Fn EC_POINT_invert , 186.Fn EC_POINT_invert ,
248.Fn EC_POINT_make_affine , 187.Fn EC_POINT_make_affine ,
249.Fn EC_POINTs_make_affine ,
250.Fn EC_POINT_mul ,
251and 188and
252.Fn EC_POINTs_mul , 189.Fn EC_POINT_mul
253.Pp 190.Pp
254.Fn EC_POINT_is_at_infinity 191.Fn EC_POINT_is_at_infinity
255returns 1 if the point is at infinity or 0 otherwise. 192returns 1 if the point is at infinity or 0 otherwise.
@@ -273,8 +210,6 @@ returns 1 if the points are not equal, 0 if they are, or -1 on error.
273.Fn EC_POINT_is_on_curve , 210.Fn EC_POINT_is_on_curve ,
274.Fn EC_POINT_cmp , 211.Fn EC_POINT_cmp ,
275.Fn EC_POINT_make_affine , 212.Fn EC_POINT_make_affine ,
276.Fn EC_POINTs_make_affine ,
277.Fn EC_POINTs_mul ,
278and 213and
279.Fn EC_POINT_mul 214.Fn EC_POINT_mul
280first appeared in OpenSSL 0.9.7 and have been available since 215first appeared in OpenSSL 0.9.7 and have been available since