diff options
author | David Benjamin <davidben@google.com> | 2018-03-06 20:00:24 +0100 |
---|---|---|
committer | David Benjamin <davidben@google.com> | 2018-03-21 17:39:36 +0100 |
commit | ddc1caac2d6b22250f78ae9e0d392c923bc85933 (patch) | |
tree | 2df1813972ad95bed8f84e3b3fc479916b532efd /doc | |
parent | Cleanup the s_time command. (diff) | |
download | openssl-ddc1caac2d6b22250f78ae9e0d392c923bc85933.tar.xz openssl-ddc1caac2d6b22250f78ae9e0d392c923bc85933.zip |
Document EC_POINT_get_affine_coordinates_*.
In particular, x and y may be NULL, as used in ecdsa_ossl.c. Make use of
this in ecdh_ossl.c as well, to save an otherwise unnecessary temporary.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5532)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/EC_POINT_new.pod | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/man3/EC_POINT_new.pod b/doc/man3/EC_POINT_new.pod index 5ac41b3295..2d86777206 100644 --- a/doc/man3/EC_POINT_new.pod +++ b/doc/man3/EC_POINT_new.pod @@ -99,7 +99,10 @@ be at infinity by calling EC_POINT_set_to_infinity(). The affine co-ordinates for a point describe a point in terms of its x and y position. The functions EC_POINT_set_affine_coordinates_GFp() and EC_POINT_set_affine_coordinates_GF2m() set the B<x> and B<y> co-ordinates for -the point B<p> defined over the curve given in B<group>. +the point B<p> defined over the curve given in B<group>. The functions +EC_POINT_get_affine_coordinates_GFp() and +EC_POINT_get_affine_coordinates_GF2m() set B<x> and B<y>, either of which may +be NULL, to the corresponding coordinates of B<p>. As well as the affine co-ordinates, a point can alternatively be described in terms of its Jacobian projective co-ordinates (for Fp curves only). Jacobian |