summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/EC_KEY_new.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/man/EC_KEY_new.322
1 files changed, 13 insertions, 9 deletions
diff --git a/src/lib/libcrypto/man/EC_KEY_new.3 b/src/lib/libcrypto/man/EC_KEY_new.3
index c24cb080ef..41ebbbe878 100644
--- a/src/lib/libcrypto/man/EC_KEY_new.3
+++ b/src/lib/libcrypto/man/EC_KEY_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EC_KEY_new.3,v 1.21 2025/03/08 16:38:13 tb Exp $ 1.\" $OpenBSD: EC_KEY_new.3,v 1.23 2025/06/08 22:40:29 schwarze Exp $
2.\" full merge up to: OpenSSL 3aef36ff Jan 5 13:06:03 2016 -0500 2.\" full merge up to: OpenSSL 3aef36ff Jan 5 13:06:03 2016 -0500
3.\" partial merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100 3.\" partial merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100
4.\" 4.\"
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: March 8 2025 $ 52.Dd $Mdocdate: June 8 2025 $
53.Dt EC_KEY_NEW 3 53.Dt EC_KEY_NEW 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -81,6 +81,7 @@
81.Nm EC_KEY_print_fp 81.Nm EC_KEY_print_fp
82.Nd create, destroy and manipulate EC_KEY objects 82.Nd create, destroy and manipulate EC_KEY objects
83.Sh SYNOPSIS 83.Sh SYNOPSIS
84.Lb libcrypto
84.In openssl/ec.h 85.In openssl/ec.h
85.In openssl/bn.h 86.In openssl/bn.h
86.Ft EC_KEY * 87.Ft EC_KEY *
@@ -234,7 +235,7 @@ and supplying the
234.Fa nid 235.Fa nid
235of the associated curve. 236of the associated curve.
236Refer to 237Refer to
237.Xr EC_GROUP_new 3 238.Xr EC_GROUP_new_by_curve_name 3
238for a description of curve names. 239for a description of curve names.
239This function simply wraps calls to 240This function simply wraps calls to
240.Fn EC_KEY_new 241.Fn EC_KEY_new
@@ -357,7 +358,7 @@ The format of the external representation of the public key written by
357such as whether it is stored in a compressed form or not, 358such as whether it is stored in a compressed form or not,
358is described by the point_conversion_form. 359is described by the point_conversion_form.
359See 360See
360.Xr EC_GROUP_copy 3 361.Xr EC_POINT_point2oct 3
361for a description of point_conversion_form. 362for a description of point_conversion_form.
362.Pp 363.Pp
363When reading a private key encoded without an associated public key, 364When reading a private key encoded without an associated public key,
@@ -378,7 +379,7 @@ and
378get and set the point_conversion_form for the 379get and set the point_conversion_form for the
379.Fa key . 380.Fa key .
380For a description of point_conversion_form refer to 381For a description of point_conversion_form refer to
381.Xr EC_GROUP_copy 3 . 382.Xr EC_POINT_point2oct 3 .
382.Pp 383.Pp
383.Fn EC_KEY_set_flags 384.Fn EC_KEY_set_flags
384sets the flags in the 385sets the flags in the
@@ -407,7 +408,7 @@ sets the asn1_flag on the underlying
407.Vt EC_GROUP 408.Vt EC_GROUP
408object (if set). 409object (if set).
409Refer to 410Refer to
410.Xr EC_GROUP_copy 3 411.Xr EC_GROUP_get_curve_name 3
411for further information on the asn1_flag. 412for further information on the asn1_flag.
412.Pp 413.Pp
413.Fn EC_KEY_precompute_mult 414.Fn EC_KEY_precompute_mult
@@ -488,11 +489,14 @@ returns the point_conversion_form for the
488.Vt EC_KEY . 489.Vt EC_KEY .
489.Sh SEE ALSO 490.Sh SEE ALSO
490.Xr d2i_ECPKParameters 3 , 491.Xr d2i_ECPKParameters 3 ,
491.Xr EC_GROUP_copy 3 , 492.Xr EC_GROUP_check 3 ,
492.Xr EC_GROUP_new 3 , 493.Xr EC_GROUP_get_curve_name 3 ,
494.Xr EC_GROUP_new_by_curve_name 3 ,
495.Xr EC_GROUP_new_curve_GFp 3 ,
493.Xr EC_KEY_METHOD_new 3 , 496.Xr EC_KEY_METHOD_new 3 ,
494.Xr EC_POINT_add 3 , 497.Xr EC_POINT_add 3 ,
495.Xr EC_POINT_new 3 , 498.Xr EC_POINT_get_affine_coordinates 3 ,
499.Xr EC_POINT_point2oct 3 ,
496.Xr ECDH_compute_key 3 , 500.Xr ECDH_compute_key 3 ,
497.Xr ECDSA_SIG_new 3 , 501.Xr ECDSA_SIG_new 3 ,
498.Xr EVP_PKEY_set1_EC_KEY 3 502.Xr EVP_PKEY_set1_EC_KEY 3