diff options
| author | tb <> | 2023-04-27 07:01:45 +0000 |
|---|---|---|
| committer | tb <> | 2023-04-27 07:01:45 +0000 |
| commit | 0acb08679ba1725041a8633560d06583bcb04b8d (patch) | |
| tree | d40e6f1b470e7f01a49ee31bbd3f3e3a41da8d11 /src | |
| parent | 2572842c6a478ad9e96bb2421ffaf5bd4d6eb9a5 (diff) | |
| download | openbsd-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.3 | 51 |
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 | |||
| 99 | It is important that the correct implementation type for the form | 84 | It is important that the correct implementation type for the form |
| 100 | of curve selected is used. | 85 | of curve selected is used. |
| 101 | .Pp | 86 | .Pp |
| 102 | For F2^m curves there is only one implementation choice, | ||
| 103 | .Fn EC_GF2_simple_method . | ||
| 104 | .Pp | ||
| 105 | For Fp curves the lowest common denominator implementation is the | 87 | For Fp curves the lowest common denominator implementation is the |
| 106 | .Fn EC_GFp_simple_method | 88 | .Fn EC_GFp_simple_method |
| 107 | implementation. | 89 | implementation. |
| @@ -115,20 +97,10 @@ curves. | |||
| 115 | NIST curves are available through | 97 | NIST 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 |
| 118 | The functions | ||
| 119 | .Fn EC_GFp_nistp224_method , | ||
| 120 | .Fn EC_GFp_nistp256_method , | ||
| 121 | and | ||
| 122 | .Fn EC_GFp_nistp521_method | ||
| 123 | offer 64-bit optimised implementations for the NIST P224, P256 and | ||
| 124 | P521 curves respectively. | ||
| 125 | Note, however, that these implementations are not available on all | ||
| 126 | platforms. | ||
| 127 | .Pp | ||
| 128 | .Fn EC_METHOD_get_field_type | 100 | .Fn EC_METHOD_get_field_type |
| 129 | identifies what type of field the | 101 | identifies what type of field the |
| 130 | .Vt EC_METHOD | 102 | .Vt EC_METHOD |
| 131 | structure supports, which will be either F2^m or Fp. | 103 | structure supports. |
| 132 | If the field type is Fp, then the value | 104 | If the field type is Fp, then the value |
| 133 | .Dv NID_X9_62_prime_field | 105 | .Dv NID_X9_62_prime_field |
| 134 | is returned. | 106 | is returned. |
| @@ -141,9 +113,7 @@ header file. | |||
| 141 | .Sh RETURN VALUES | 113 | .Sh RETURN VALUES |
| 142 | All | 114 | All |
| 143 | .Fn EC_GFp* | 115 | .Fn EC_GFp* |
| 144 | functions and | 116 | functions always return a const pointer to an |
| 145 | .Fn EC_GF2m_simple_method | ||
| 146 | always return a const pointer to an | ||
| 147 | .Vt EC_METHOD | 117 | .Vt EC_METHOD |
| 148 | structure. | 118 | structure. |
| 149 | .Pp | 119 | .Pp |
| @@ -165,17 +135,6 @@ and | |||
| 165 | .Fn EC_GFp_mont_method | 135 | .Fn EC_GFp_mont_method |
| 166 | first appeared in OpenSSL 0.9.7 and have been available since | 136 | first 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 , | ||
| 171 | and | ||
| 172 | .Fn EC_METHOD_get_field_type | 138 | .Fn EC_METHOD_get_field_type |
| 173 | first appeared in OpenSSL 0.9.8 and have been available since | 139 | first 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 , | ||
| 178 | and | ||
| 179 | .Fn EC_GFp_nistp521_method | ||
| 180 | first appeared in OpenSSL 1.0.1 and have been available since | ||
| 181 | .Ox 5.3 . | ||
