diff options
author | jmc <> | 2016-11-15 09:25:45 +0000 |
---|---|---|
committer | jmc <> | 2016-11-15 09:25:45 +0000 |
commit | 922da778c547aca7b016abc727670321d5df6d46 (patch) | |
tree | cf36370a04527a8f7cee159901a22b366a8ab698 /src/lib/libcrypto/man/EC_KEY_new.3 | |
parent | 19856caeaf0d2604d70b239a4528136aadac9390 (diff) | |
download | openbsd-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.3 | 17 |
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 |
205 | decrements the reference count for the | 205 | decrements the reference count for the |
206 | .Vt EC_KEY | 206 | .Vt EC_KEY |
207 | object, and if it has dropped to zero, then frees the memory associated | 207 | object and, if it has dropped to zero, then frees the memory associated |
208 | with it. | 208 | with 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 . |
292 | These flags define the behaviour of how the | 292 | These flags define the behaviour of how the |
293 | .Fa key | 293 | .Fa key |
294 | is converted into ASN1 in a call to | 294 | is converted into ASN.1 in a call to |
295 | .Fn i2d_ECPrivateKey . | 295 | .Fn i2d_ECPrivateKey . |
296 | If | 296 | If |
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 |
309 | get and set the point_conversion_form for the | 309 | get and set the point_conversion_form for the |
310 | .Fa key . | 310 | .Fa key . |
311 | For a description of point_conversion_forms please refer to | 311 | For 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 |
315 | and | 315 | and |
@@ -318,7 +318,7 @@ enable the caller to associate arbitrary additional data specific | |||
318 | to the elliptic curve scheme being used with the | 318 | to the elliptic curve scheme being used with the |
319 | .Vt EC_KEY | 319 | .Vt EC_KEY |
320 | object. | 320 | object. |
321 | This data is treated as a "black box" by the ec library. | 321 | This data is treated as a "black box" by the EC library. |
322 | The data to be stored by | 322 | The data to be stored by |
323 | .Fn EC_KEY_insert_key_method_data | 323 | .Fn EC_KEY_insert_key_method_data |
324 | is provided in the | 324 | is provided in the |
@@ -392,7 +392,8 @@ spaces. | |||
392 | and | 392 | and |
393 | .Fn EC_KEY_dup | 393 | .Fn EC_KEY_dup |
394 | return a pointer to the newly created | 394 | return a pointer to the newly created |
395 | .Vt EC_KEY object or | 395 | .Vt EC_KEY object |
396 | or | ||
396 | .Dv NULL | 397 | .Dv NULL |
397 | on error. | 398 | on error. |
398 | .Pp | 399 | .Pp |