summaryrefslogtreecommitdiff
path: root/lib/libcrypto/man/EC_KEY_new.3
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-12-11 14:22:44 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-12-11 14:22:44 +0000
commit1c20cf2db26f6b7639ea82ca67430b52a4d9f899 (patch)
tree8664db7c4e65e74eb225b372b4b3b473df771aa4 /lib/libcrypto/man/EC_KEY_new.3
parent6db214bd216691aa5ef5801d3caeb526c609cafc (diff)
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.
Diffstat (limited to 'lib/libcrypto/man/EC_KEY_new.3')
-rw-r--r--lib/libcrypto/man/EC_KEY_new.317
1 files changed, 13 insertions, 4 deletions
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 <matt@openssl.org>.
@@ -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