summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/ec.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/man/ec.377
1 files changed, 0 insertions, 77 deletions
diff --git a/src/lib/libcrypto/man/ec.3 b/src/lib/libcrypto/man/ec.3
deleted file mode 100644
index b3e0c8697e..0000000000
--- a/src/lib/libcrypto/man/ec.3
+++ /dev/null
@@ -1,77 +0,0 @@
1.\" $OpenBSD: ec.3,v 1.4 2016/12/08 21:48:50 jmc Exp $
2.\"
3.Dd $Mdocdate: December 8 2016 $
4.Dt EC 3
5.Os
6.Sh NAME
7.Nm ec
8.Nd Elliptic Curve functions
9.Sh SYNOPSIS
10.In openssl/ec.h
11.Sh DESCRIPTION
12This library provides an extensive set of functions for performing
13operations on elliptic curves over finite fields.
14In general an elliptic curve is one with an equation of the form:
15.Pp
16.Dl y^2 = x^3 + ax + b
17.Pp
18An
19.Vt EC_GROUP
20structure is used to represent the definition of an elliptic curve.
21Points on a curve are stored using an
22.Vt EC_POINT
23structure.
24An
25.Vt EC_KEY
26is used to hold a private/public key pair, where a private key is simply a
27.Vt BIGNUM
28and a public key is a point on a curve represented by an
29.Vt EC_POINT .
30.Pp
31The library contains a number of alternative implementations of the
32different functions.
33Each implementation is optimised for different scenarios.
34No matter which implementation is being used, the interface remains the
35same.
36The library handles calling the correct implementation when an interface
37function is invoked.
38An implementation is represented by an
39.Vt EC_METHOD
40structure.
41.Pp
42The creation and destruction of
43.Vt EC_GROUP
44objects is described in
45.Xr EC_GROUP_new 3 .
46Functions for manipulating
47.Vt EC_GROUP
48objects are described in
49.Xr EC_GROUP_copy 3 .
50.Pp
51Functions for creating, destroying and manipulating
52.Vt EC_POINT
53objects are explained in
54.Xr EC_POINT_new 3 ,
55whilst functions for performing mathematical operations and tests on
56.Vt EC_POINT Ns s
57are covered in
58.Xr EC_POINT_add 3 .
59.Pp
60For working with private and public keys refer to
61.Xr EC_KEY_new 3 .
62Implementations are covered in
63.Xr EC_GFp_simple_method 3 .
64.Pp
65For information on encoding and decoding curve parameters to and
66from ASN.1 see
67.Xr d2i_ECPKParameters 3 .
68.Sh SEE ALSO
69.Xr crypto 3 ,
70.Xr d2i_ECPKParameters 3 ,
71.Xr EC_GFp_simple_method 3 ,
72.Xr EC_GROUP_copy 3 ,
73.Xr EC_GROUP_new 3 ,
74.Xr EC_KEY_new 3 ,
75.Xr EC_POINT_add 3 ,
76.Xr EC_POINT_new 3 ,
77.Xr EVP_PKEY_CTX_set_ec_paramgen_curve_nid 3