summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/EC_KEY_new.3
diff options
context:
space:
mode:
authorjmc <>2016-11-15 09:25:45 +0000
committerjmc <>2016-11-15 09:25:45 +0000
commit922da778c547aca7b016abc727670321d5df6d46 (patch)
treecf36370a04527a8f7cee159901a22b366a8ab698 /src/lib/libcrypto/man/EC_KEY_new.3
parent19856caeaf0d2604d70b239a4528136aadac9390 (diff)
downloadopenbsd-922da778c547aca7b016abc727670321d5df6d46.tar.gz
openbsd-922da778c547aca7b016abc727670321d5df6d46.tar.bz2
openbsd-922da778c547aca7b016abc727670321d5df6d46.zip
various cleanup;
Diffstat (limited to 'src/lib/libcrypto/man/EC_KEY_new.3')
-rw-r--r--src/lib/libcrypto/man/EC_KEY_new.317
1 files changed, 9 insertions, 8 deletions
diff --git a/src/lib/libcrypto/man/EC_KEY_new.3 b/src/lib/libcrypto/man/EC_KEY_new.3
index dd283cbb80..20fefc7caf 100644
--- a/src/lib/libcrypto/man/EC_KEY_new.3
+++ b/src/lib/libcrypto/man/EC_KEY_new.3
@@ -1,6 +1,6 @@
1.\" $OpenBSD: EC_KEY_new.3,v 1.4 2016/11/06 16:54:58 jmc Exp $ 1.\" $OpenBSD: EC_KEY_new.3,v 1.5 2016/11/15 09:25:45 jmc Exp $
2.\" 2.\"
3.Dd $Mdocdate: November 6 2016 $ 3.Dd $Mdocdate: November 15 2016 $
4.Dt EC_KEY_NEW 3 4.Dt EC_KEY_NEW 3
5.Os 5.Os
6.Sh NAME 6.Sh NAME
@@ -204,7 +204,7 @@ Calling
204.Fn EC_KEY_free 204.Fn EC_KEY_free
205decrements the reference count for the 205decrements the reference count for the
206.Vt EC_KEY 206.Vt EC_KEY
207object, and if it has dropped to zero, then frees the memory associated 207object and, if it has dropped to zero, then frees the memory associated
208with it. 208with it.
209.Pp 209.Pp
210.Fn EC_KEY_copy 210.Fn EC_KEY_copy
@@ -291,7 +291,7 @@ and
291.Dv EC_PKEY_NO_PUBKEY . 291.Dv EC_PKEY_NO_PUBKEY .
292These flags define the behaviour of how the 292These flags define the behaviour of how the
293.Fa key 293.Fa key
294is converted into ASN1 in a call to 294is converted into ASN.1 in a call to
295.Fn i2d_ECPrivateKey . 295.Fn i2d_ECPrivateKey .
296If 296If
297.Dv EC_PKEY_NO_PARAMETERS 297.Dv EC_PKEY_NO_PARAMETERS
@@ -308,8 +308,8 @@ and
308.Fn EC_KEY_set_conv_form 308.Fn EC_KEY_set_conv_form
309get and set the point_conversion_form for the 309get and set the point_conversion_form for the
310.Fa key . 310.Fa key .
311For a description of point_conversion_forms please refer to 311For a description of point_conversion_form please refer to
312.Xr EC_POINT_new 3 . 312.Xr EC_GROUP_copy 3 .
313.Pp 313.Pp
314.Fn EC_KEY_insert_key_method_data 314.Fn EC_KEY_insert_key_method_data
315and 315and
@@ -318,7 +318,7 @@ enable the caller to associate arbitrary additional data specific
318to the elliptic curve scheme being used with the 318to the elliptic curve scheme being used with the
319.Vt EC_KEY 319.Vt EC_KEY
320object. 320object.
321This data is treated as a "black box" by the ec library. 321This data is treated as a "black box" by the EC library.
322The data to be stored by 322The data to be stored by
323.Fn EC_KEY_insert_key_method_data 323.Fn EC_KEY_insert_key_method_data
324is provided in the 324is provided in the
@@ -392,7 +392,8 @@ spaces.
392and 392and
393.Fn EC_KEY_dup 393.Fn EC_KEY_dup
394return a pointer to the newly created 394return a pointer to the newly created
395.Vt EC_KEY object or 395.Vt EC_KEY object
396or
396.Dv NULL 397.Dv NULL
397on error. 398on error.
398.Pp 399.Pp