From 1c20cf2db26f6b7639ea82ca67430b52a4d9f899 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 11 Dec 2016 14:22:44 +0000 Subject: Distribute the text of ec(3) to the individual EC manuals where it belongs. Make sure EC_GROUP_new(3) points to all EC manuals and all EC manuals point back to EC_GROUP_new(3), and add some other useful links as well. Change all links to ec(3) to point to EC_GROUP_new(3) instead. --- lib/libcrypto/man/EC_KEY_new.3 | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'lib/libcrypto/man/EC_KEY_new.3') diff --git a/lib/libcrypto/man/EC_KEY_new.3 b/lib/libcrypto/man/EC_KEY_new.3 index fecb718a2be..742be773eef 100644 --- a/lib/libcrypto/man/EC_KEY_new.3 +++ b/lib/libcrypto/man/EC_KEY_new.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: EC_KEY_new.3,v 1.7 2016/12/06 14:54:55 schwarze Exp $ +.\" $OpenBSD: EC_KEY_new.3,v 1.8 2016/12/11 14:22:43 schwarze Exp $ .\" OpenSSL d900a015 Oct 8 14:40:42 2015 +0200 .\" .\" This file was written by Matt Caswell . @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 6 2016 $ +.Dd $Mdocdate: December 11 2016 $ .Dt EC_KEY_NEW 3 .Os .Sh NAME @@ -221,6 +221,15 @@ An .Vt EC_KEY represents a public key and (optionally) an associated private key. +The public key is a point on a curve represented by an +.Vt EC_POINT , +see +.Xr EC_POINT_new 3 . +The private key is simply a +.Vt BIGNUM , +see +.Xr BN_new 3 . +.Pp A new .Vt EC_KEY (with no associated curve) can be constructed by calling @@ -510,9 +519,9 @@ returns the point_conversion_form for the .Vt EC_KEY . .Sh SEE ALSO .Xr d2i_ECPKParameters 3 , -.Xr ec 3 , .Xr EC_GFp_simple_method 3 , .Xr EC_GROUP_copy 3 , .Xr EC_GROUP_new 3 , .Xr EC_POINT_add 3 , -.Xr EC_POINT_new 3 +.Xr EC_POINT_new 3 , +.Xr ECDSA_SIG_new 3 -- cgit v1.2.3