diff options
Diffstat (limited to 'src/lib/libcrypto/man/EC_GROUP_new_curve_GFp.3')
-rw-r--r-- | src/lib/libcrypto/man/EC_GROUP_new_curve_GFp.3 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/EC_GROUP_new_curve_GFp.3 b/src/lib/libcrypto/man/EC_GROUP_new_curve_GFp.3 index 3346bd80ef..767c50fe55 100644 --- a/src/lib/libcrypto/man/EC_GROUP_new_curve_GFp.3 +++ b/src/lib/libcrypto/man/EC_GROUP_new_curve_GFp.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: EC_GROUP_new_curve_GFp.3,v 1.2 2025/04/26 07:07:29 tb Exp $ | 1 | .\" $OpenBSD: EC_GROUP_new_curve_GFp.3,v 1.3 2025/05/01 07:27:11 tb Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2025 Theo Buehler <tb@openbsd.org> | 3 | .\" Copyright (c) 2025 Theo Buehler <tb@openbsd.org> |
4 | .\" | 4 | .\" |
@@ -14,7 +14,7 @@ | |||
14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | .\" | 16 | .\" |
17 | .Dd $Mdocdate: April 26 2025 $ | 17 | .Dd $Mdocdate: May 1 2025 $ |
18 | .Dt EC_GROUP_NEW_CURVE_GFP 3 | 18 | .Dt EC_GROUP_NEW_CURVE_GFP 3 |
19 | .Os | 19 | .Os |
20 | .Sh NAME | 20 | .Sh NAME |
@@ -125,7 +125,9 @@ elliptic curves in Weierstrass form. | |||
125 | These curves are defined over the prime field of order | 125 | These curves are defined over the prime field of order |
126 | .Fa p | 126 | .Fa p |
127 | via the Weierstrass equation | 127 | via the Weierstrass equation |
128 | .Pp | ||
128 | .Dl y^2 = x^3 + ax + b | 129 | .Dl y^2 = x^3 + ax + b |
130 | .Pp | ||
129 | where | 131 | where |
130 | .Fa a | 132 | .Fa a |
131 | and | 133 | and |
@@ -143,7 +145,9 @@ the product of | |||
143 | and another integer called the | 145 | and another integer called the |
144 | .Fa cofactor . | 146 | .Fa cofactor . |
145 | Hasse's theorem is the inequality | 147 | Hasse's theorem is the inequality |
148 | .Pp | ||
146 | .Dl | Ns Fa order No * Fa cofactor No - (p + 1)| <= 2 sqrt(p) | 149 | .Dl | Ns Fa order No * Fa cofactor No - (p + 1)| <= 2 sqrt(p) |
150 | .Pp | ||
147 | which implies an upper bound on | 151 | which implies an upper bound on |
148 | .Fa order | 152 | .Fa order |
149 | in terms of | 153 | in terms of |
@@ -445,7 +449,7 @@ have been available since | |||
445 | Too many. | 449 | Too many. |
446 | The API is unergonomic and the design is very poor even by | 450 | The API is unergonomic and the design is very poor even by |
447 | OpenSSL's standards. | 451 | OpenSSL's standards. |
448 | Naming is inconsistent, especially in regards to the _GFp suffix | 452 | Naming is inconsistent, especially in regard to the _GFp suffix |
449 | and the _get_ infix. | 453 | and the _get_ infix. |
450 | Function signatures are inconsistent. | 454 | Function signatures are inconsistent. |
451 | In particular, functions that should have a | 455 | In particular, functions that should have a |