diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/man/EC_GROUP_new_curve_GFp.3 | 21 |
1 files changed, 12 insertions, 9 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 f13c969c28..3346bd80ef 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.1 2025/04/25 19:57:12 tb Exp $ | 1 | .\" $OpenBSD: EC_GROUP_new_curve_GFp.3,v 1.2 2025/04/26 07:07:29 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 25 2025 $ | 17 | .Dd $Mdocdate: April 26 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 |
| @@ -359,6 +359,7 @@ returns 1 on success and 0 on memory allocation failure, or if | |||
| 359 | or | 359 | or |
| 360 | .Fa cofactor | 360 | .Fa cofactor |
| 361 | are larger than Hasse's theorem allows. | 361 | are larger than Hasse's theorem allows. |
| 362 | .Pp | ||
| 362 | .Fn EC_GROUP_get0_generator | 363 | .Fn EC_GROUP_get0_generator |
| 363 | returns an internal pointer to the | 364 | returns an internal pointer to the |
| 364 | .Fa generator | 365 | .Fa generator |
| @@ -369,20 +370,22 @@ if none was set on | |||
| 369 | .Pp | 370 | .Pp |
| 370 | .Fn EC_GROUP_get_order | 371 | .Fn EC_GROUP_get_order |
| 371 | returns 1 on success or 0 on memory allocation failure or if the | 372 | returns 1 on success or 0 on memory allocation failure or if the |
| 372 | .Fa group Ns 's | 373 | .Fa order |
| 373 | order is set to | 374 | is zero. |
| 374 | .Fa zero . | 375 | .Pp |
| 376 | .Fn EC_GROUP_get_cofactor | ||
| 377 | returns 1 on success or 0 on memory allocation failure or if the | ||
| 378 | .Fa cofactor | ||
| 379 | is zero. | ||
| 375 | .Pp | 380 | .Pp |
| 376 | .Fn EC_GROUP_get_degree , | 381 | .Fn EC_GROUP_get_degree , |
| 377 | .Fn EC_GROUP_order_bits , | ||
| 378 | and | 382 | and |
| 379 | .Fn EC_GROUP_get_cofactor | 383 | .Fn EC_GROUP_order_bits |
| 380 | return the number of bits in the | 384 | return the number of bits in the |
| 381 | .Fa group Ns 's | 385 | .Fa group Ns 's |
| 382 | .Fa p , | 386 | .Fa p , |
| 383 | .Fa order , | ||
| 384 | and | 387 | and |
| 385 | .Fa cofactor , | 388 | .Fa order , |
| 386 | respectively. | 389 | respectively. |
| 387 | .Sh SEE ALSO | 390 | .Sh SEE ALSO |
| 388 | .Xr BN_new 3 , | 391 | .Xr BN_new 3 , |
