summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2023-04-27 07:01:45 +0000
committertb <>2023-04-27 07:01:45 +0000
commit0acb08679ba1725041a8633560d06583bcb04b8d (patch)
treed40e6f1b470e7f01a49ee31bbd3f3e3a41da8d11 /src
parent2572842c6a478ad9e96bb2421ffaf5bd4d6eb9a5 (diff)
downloadopenbsd-0acb08679ba1725041a8633560d06583bcb04b8d.tar.gz
openbsd-0acb08679ba1725041a8633560d06583bcb04b8d.tar.bz2
openbsd-0acb08679ba1725041a8633560d06583bcb04b8d.zip
Remove documentation of no longer supported EC methods
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/EC_GFp_simple_method.351
1 files changed, 5 insertions, 46 deletions
diff --git a/src/lib/libcrypto/man/EC_GFp_simple_method.3 b/src/lib/libcrypto/man/EC_GFp_simple_method.3
index 28a39f3fb0..9f78b6e113 100644
--- a/src/lib/libcrypto/man/EC_GFp_simple_method.3
+++ b/src/lib/libcrypto/man/EC_GFp_simple_method.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EC_GFp_simple_method.3,v 1.10 2022/07/02 17:09:09 jsing Exp $ 1.\" $OpenBSD: EC_GFp_simple_method.3,v 1.11 2023/04/27 07:01:45 tb Exp $
2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" 3.\"
4.\" This file was written by Matt Caswell <matt@openssl.org>. 4.\" This file was written by Matt Caswell <matt@openssl.org>.
@@ -48,17 +48,12 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: July 2 2022 $ 51.Dd $Mdocdate: April 27 2023 $
52.Dt EC_GFP_SIMPLE_METHOD 3 52.Dt EC_GFP_SIMPLE_METHOD 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
55.Nm EC_GFp_simple_method , 55.Nm EC_GFp_simple_method ,
56.Nm EC_GFp_mont_method , 56.Nm EC_GFp_mont_method ,
57.Nm EC_GFp_nist_method ,
58.Nm EC_GFp_nistp224_method ,
59.Nm EC_GFp_nistp256_method ,
60.Nm EC_GFp_nistp521_method ,
61.Nm EC_GF2m_simple_method ,
62.Nm EC_METHOD_get_field_type 57.Nm EC_METHOD_get_field_type
63.Nd obtain EC_METHOD objects 58.Nd obtain EC_METHOD objects
64.Sh SYNOPSIS 59.Sh SYNOPSIS
@@ -67,16 +62,6 @@
67.Fn EC_GFp_simple_method void 62.Fn EC_GFp_simple_method void
68.Ft const EC_METHOD * 63.Ft const EC_METHOD *
69.Fn EC_GFp_mont_method void 64.Fn EC_GFp_mont_method void
70.Ft const EC_METHOD *
71.Fn EC_GFp_nist_method void
72.Ft const EC_METHOD *
73.Fn EC_GFp_nistp224_method void
74.Ft const EC_METHOD *
75.Fn EC_GFp_nistp256_method void
76.Ft const EC_METHOD *
77.Fn EC_GFp_nistp521_method void
78.Ft const EC_METHOD *
79.Fn EC_GF2m_simple_method void
80.Ft int 65.Ft int
81.Fo EC_METHOD_get_field_type 66.Fo EC_METHOD_get_field_type
82.Fa "const EC_METHOD *meth" 67.Fa "const EC_METHOD *meth"
@@ -99,9 +84,6 @@ structure that can be passed to
99It is important that the correct implementation type for the form 84It is important that the correct implementation type for the form
100of curve selected is used. 85of curve selected is used.
101.Pp 86.Pp
102For F2^m curves there is only one implementation choice,
103.Fn EC_GF2_simple_method .
104.Pp
105For Fp curves the lowest common denominator implementation is the 87For Fp curves the lowest common denominator implementation is the
106.Fn EC_GFp_simple_method 88.Fn EC_GFp_simple_method
107implementation. 89implementation.
@@ -115,20 +97,10 @@ curves.
115NIST curves are available through 97NIST curves are available through
116.Xr EC_GROUP_new_by_curve_name 3 . 98.Xr EC_GROUP_new_by_curve_name 3 .
117.Pp 99.Pp
118The functions
119.Fn EC_GFp_nistp224_method ,
120.Fn EC_GFp_nistp256_method ,
121and
122.Fn EC_GFp_nistp521_method
123offer 64-bit optimised implementations for the NIST P224, P256 and
124P521 curves respectively.
125Note, however, that these implementations are not available on all
126platforms.
127.Pp
128.Fn EC_METHOD_get_field_type 100.Fn EC_METHOD_get_field_type
129identifies what type of field the 101identifies what type of field the
130.Vt EC_METHOD 102.Vt EC_METHOD
131structure supports, which will be either F2^m or Fp. 103structure supports.
132If the field type is Fp, then the value 104If the field type is Fp, then the value
133.Dv NID_X9_62_prime_field 105.Dv NID_X9_62_prime_field
134is returned. 106is returned.
@@ -141,9 +113,7 @@ header file.
141.Sh RETURN VALUES 113.Sh RETURN VALUES
142All 114All
143.Fn EC_GFp* 115.Fn EC_GFp*
144functions and 116functions always return a const pointer to an
145.Fn EC_GF2m_simple_method
146always return a const pointer to an
147.Vt EC_METHOD 117.Vt EC_METHOD
148structure. 118structure.
149.Pp 119.Pp
@@ -165,17 +135,6 @@ and
165.Fn EC_GFp_mont_method 135.Fn EC_GFp_mont_method
166first appeared in OpenSSL 0.9.7 and have been available since 136first appeared in OpenSSL 0.9.7 and have been available since
167.Ox 3.2 . 137.Ox 3.2 .
168.Pp
169.Fn EC_GFp_nist_method ,
170.Fn EC_GF2m_simple_method ,
171and
172.Fn EC_METHOD_get_field_type 138.Fn EC_METHOD_get_field_type
173first appeared in OpenSSL 0.9.8 and have been available since 139first appeared in OpenSSL 0.9.8 and has been available since
174.Ox 4.5 . 140.Ox 4.5 .
175.Pp
176.Fn EC_GFp_nistp224_method ,
177.Fn EC_GFp_nistp256_method ,
178and
179.Fn EC_GFp_nistp521_method
180first appeared in OpenSSL 1.0.1 and have been available since
181.Ox 5.3 .