diff options
author | tb <> | 2025-03-08 16:48:22 +0000 |
---|---|---|
committer | tb <> | 2025-03-08 16:48:22 +0000 |
commit | 86545567e1c326ecbbace08c880561131f1a47f8 (patch) | |
tree | 77dd5ab3dd3f3cd622f4c69040e653f77bb109fc /src/lib | |
parent | 6ca389dce56888448c24801863cd71788b36bcfd (diff) | |
download | openbsd-86545567e1c326ecbbace08c880561131f1a47f8.tar.gz openbsd-86545567e1c326ecbbace08c880561131f1a47f8.tar.bz2 openbsd-86545567e1c326ecbbace08c880561131f1a47f8.zip |
Remove EC_POINTs_{make_affine,mul}() docs
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/man/EC_POINT_add.3 | 69 |
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. | |||
180 | compares the two supplied points and tests whether or not they are | 161 | compares the two supplied points and tests whether or not they are |
181 | equal. | 162 | equal. |
182 | .Pp | 163 | .Pp |
183 | The functions | ||
184 | .Fn EC_POINT_make_affine | ||
185 | and | ||
186 | .Fn EC_POINTs_make_affine | ||
187 | force the internal representation of the | ||
188 | .Vt EC_POINT Ns s | ||
189 | into the affine coordinate system. | ||
190 | In the case of | ||
191 | .Fn EC_POINTs_make_affine , | ||
192 | the value | ||
193 | .Fa num | ||
194 | provides the number of points in the array | ||
195 | .Fa points | ||
196 | to be forced. | ||
197 | .Pp | ||
198 | .Fn EC_POINT_mul | 164 | .Fn EC_POINT_mul |
199 | calculates the value | 165 | calculates 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 | ||
214 | only supports the values 0 and 1 for | ||
215 | .Fa num . | ||
216 | If it is 1, then | ||
217 | .Fn EC_POINTs_mul | ||
218 | calculates the value | ||
219 | .Pp | ||
220 | .Dl generator * n + q[0] * m[0]. | ||
221 | .Pp | ||
222 | If | ||
223 | .Fa num | ||
224 | is 0 then | ||
225 | .Fa q | ||
226 | and | ||
227 | .Fa m | ||
228 | must be | ||
229 | .Dv NULL , | ||
230 | and the result is just | ||
231 | .Pp | ||
232 | .Dl generator * n . | ||
233 | .Pp | ||
234 | As for | ||
235 | .Fn EC_POINT_mul , | ||
236 | the value | ||
237 | .Fa n | ||
238 | may be | ||
239 | .Dv NULL . | ||
240 | See | 179 | See |
241 | .Xr EC_GROUP_copy 3 | 180 | .Xr EC_GROUP_copy 3 |
242 | for information about the generator. | 181 | for 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 , | ||
251 | and | 188 | and |
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 |
255 | returns 1 if the point is at infinity or 0 otherwise. | 192 | returns 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 , | ||
278 | and | 213 | and |
279 | .Fn EC_POINT_mul | 214 | .Fn EC_POINT_mul |
280 | first appeared in OpenSSL 0.9.7 and have been available since | 215 | first appeared in OpenSSL 0.9.7 and have been available since |