diff options
Diffstat (limited to 'src/lib/libcrypto/man/EC_KEY_new.3')
-rw-r--r-- | src/lib/libcrypto/man/EC_KEY_new.3 | 39 |
1 files changed, 36 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/EC_KEY_new.3 b/src/lib/libcrypto/man/EC_KEY_new.3 index b977323e29..283cc82f87 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.2 2016/11/06 15:52:50 jmc Exp $ | 1 | .\" $OpenBSD: EC_KEY_new.3,v 1.3 2016/11/06 15:57:38 schwarze Exp $ |
2 | .\" | 2 | .\" |
3 | .Dd $Mdocdate: November 6 2016 $ | 3 | .Dd $Mdocdate: November 6 2016 $ |
4 | .Dt EC_KEY_NEW 3 | 4 | .Dt EC_KEY_NEW 3 |
@@ -29,7 +29,9 @@ | |||
29 | .Nm EC_KEY_precompute_mult , | 29 | .Nm EC_KEY_precompute_mult , |
30 | .Nm EC_KEY_generate_key , | 30 | .Nm EC_KEY_generate_key , |
31 | .Nm EC_KEY_check_key , | 31 | .Nm EC_KEY_check_key , |
32 | .Nm EC_KEY_set_public_key_affine_coordinates | 32 | .Nm EC_KEY_set_public_key_affine_coordinates , |
33 | .Nm EC_KEY_print , | ||
34 | .Nm EC_KEY_print_fp | ||
33 | .Nd create, destroy and manipulate EC_KEY objects | 35 | .Nd create, destroy and manipulate EC_KEY objects |
34 | .Sh SYNOPSIS | 36 | .Sh SYNOPSIS |
35 | .In openssl/ec.h | 37 | .In openssl/ec.h |
@@ -155,6 +157,18 @@ | |||
155 | .Fa "BIGNUM *x" | 157 | .Fa "BIGNUM *x" |
156 | .Fa "BIGNUM *y" | 158 | .Fa "BIGNUM *y" |
157 | .Fc | 159 | .Fc |
160 | .Ft int | ||
161 | .Fo EC_KEY_print | ||
162 | .Fa "BIO *bp" | ||
163 | .Fa "const EC_KEY *key" | ||
164 | .Fa "int off" | ||
165 | .Fc | ||
166 | .Ft int | ||
167 | .Fo EC_KEY_print_fp | ||
168 | .Fa "FILE *fp" | ||
169 | .Fa "const EC_KEY *key" | ||
170 | .Fa "int off" | ||
171 | .Fc | ||
158 | .Sh DESCRIPTION | 172 | .Sh DESCRIPTION |
159 | An | 173 | An |
160 | .Vt EC_KEY | 174 | .Vt EC_KEY |
@@ -355,6 +369,23 @@ stores multiples of the underlying | |||
355 | generator for faster point multiplication. | 369 | generator for faster point multiplication. |
356 | See also | 370 | See also |
357 | .Xr EC_POINT_add 3 . | 371 | .Xr EC_POINT_add 3 . |
372 | .Pp | ||
373 | .Fn EC_KEY_print | ||
374 | and | ||
375 | .Fn EC_KEY_print_fp | ||
376 | print out the content of | ||
377 | .Fa key | ||
378 | to the | ||
379 | .Vt BIO | ||
380 | .Fa bp | ||
381 | or to the | ||
382 | .Vt FILE | ||
383 | pointer | ||
384 | .Fa fp , | ||
385 | respectively. | ||
386 | Each line is indented by | ||
387 | .Fa indent | ||
388 | spaces. | ||
358 | .Sh RETURN VALUES | 389 | .Sh RETURN VALUES |
359 | .Fn EC_KEY_new , | 390 | .Fn EC_KEY_new , |
360 | .Fn EC_KEY_new_by_curve_name , | 391 | .Fn EC_KEY_new_by_curve_name , |
@@ -381,8 +412,10 @@ on error. | |||
381 | .Fn EC_KEY_precompute_mult , | 412 | .Fn EC_KEY_precompute_mult , |
382 | .Fn EC_KEY_generate_key , | 413 | .Fn EC_KEY_generate_key , |
383 | .Fn EC_KEY_check_key , | 414 | .Fn EC_KEY_check_key , |
415 | .Fn EC_KEY_set_public_key_affine_coordinates , | ||
416 | .Fn EC_KEY_print , | ||
384 | and | 417 | and |
385 | .Fn EC_KEY_set_public_key_affine_coordinates | 418 | .Fn EC_KEY_print_fp |
386 | return 1 on success or 0 on error. | 419 | return 1 on success or 0 on error. |
387 | .Pp | 420 | .Pp |
388 | .Fn EC_KEY_get0_group | 421 | .Fn EC_KEY_get0_group |