Document EC_POINT_get_affine_coordinates_*.
authorDavid Benjamin <davidben@google.com>
Tue, 6 Mar 2018 19:00:24 +0000 (14:00 -0500)
committerDavid Benjamin <davidben@google.com>
Wed, 21 Mar 2018 16:39:36 +0000 (12:39 -0400)
commitddc1caac2d6b22250f78ae9e0d392c923bc85933
tree2df1813972ad95bed8f84e3b3fc479916b532efd
parent0870c8ea93929d4e123d31805707a978bc39fdf0
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)
crypto/ec/ecdh_ossl.c
doc/man3/EC_POINT_new.pod