diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/man/EC_GROUP_copy.3 | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/src/lib/libcrypto/man/EC_GROUP_copy.3 b/src/lib/libcrypto/man/EC_GROUP_copy.3 index a69017fa3e..671544853a 100644 --- a/src/lib/libcrypto/man/EC_GROUP_copy.3 +++ b/src/lib/libcrypto/man/EC_GROUP_copy.3 | |||
| @@ -1,8 +1,9 @@ | |||
| 1 | .\" $OpenBSD: EC_GROUP_copy.3,v 1.11 2021/09/11 17:59:04 schwarze Exp $ | 1 | .\" $OpenBSD: EC_GROUP_copy.3,v 1.12 2021/09/14 13:47:59 schwarze Exp $ |
| 2 | .\" full merge up to: OpenSSL aafbe1cc Jun 12 23:42:08 2013 +0100 | 2 | .\" full merge up to: OpenSSL d900a015 Oct 8 14:40:42 2015 +0200 |
| 3 | .\" selective merge up to: OpenSSL 24c23e1f Aug 22 10:51:25 2019 +0530 | 3 | .\" selective merge up to: OpenSSL 24c23e1f Aug 22 10:51:25 2019 +0530 |
| 4 | .\" | 4 | .\" |
| 5 | .\" This file was written by Matt Caswell <matt@openssl.org> | 5 | .\" This file was written by Matt Caswell <matt@openssl.org>, |
| 6 | .\" Dr. Stephen Henson <steve@openssl.org>, | ||
| 6 | .\" and Jayaram X Matta <jayaramx.matta@intel.com>. | 7 | .\" and Jayaram X Matta <jayaramx.matta@intel.com>. |
| 7 | .\" Copyright (c) 2013, 2015, 2019 The OpenSSL Project. All rights reserved. | 8 | .\" Copyright (c) 2013, 2015, 2019 The OpenSSL Project. All rights reserved. |
| 8 | .\" | 9 | .\" |
| @@ -50,7 +51,7 @@ | |||
| 50 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 51 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 51 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 52 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
| 52 | .\" | 53 | .\" |
| 53 | .Dd $Mdocdate: September 11 2021 $ | 54 | .Dd $Mdocdate: September 14 2021 $ |
| 54 | .Dt EC_GROUP_COPY 3 | 55 | .Dt EC_GROUP_COPY 3 |
| 55 | .Os | 56 | .Os |
| 56 | .Sh NAME | 57 | .Sh NAME |
| @@ -286,16 +287,21 @@ If a curve does not have a NID associated with it, then | |||
| 286 | will return | 287 | will return |
| 287 | .Dv NID_undef . | 288 | .Dv NID_undef . |
| 288 | .Pp | 289 | .Pp |
| 289 | The asn1_flag value on a curve is used to determine whether there is a | 290 | The asn1_flag value is used to determine whether the curve encoding |
| 290 | specific ASN.1 OID to describe the curve or not. | 291 | uses explicit parameters or a named curve using an ASN.1 OID: |
| 291 | If the asn1_flag is 1 then this is a named curve with an associated ASN.1 OID. | 292 | many applications only support the latter form. |
| 292 | If not then asn1_flag is 0. | 293 | If asn1_flag is the default value |
| 294 | .Dv OPENSSL_EC_NAMED_CURVE , | ||
| 295 | then the named curve form is used and the parameters must have a | ||
| 296 | corresponding named curve NID set. | ||
| 297 | If asn1_flags is | ||
| 298 | .Dv OPENSSL_EC_EXPLICIT_CURVE , | ||
| 299 | the parameters are explicitly encoded. | ||
| 293 | The functions | 300 | The functions |
| 294 | .Fn EC_GROUP_get_asn1_flag | 301 | .Fn EC_GROUP_get_asn1_flag |
| 295 | and | 302 | and |
| 296 | .Fn EC_GROUP_set_asn1_flag | 303 | .Fn EC_GROUP_set_asn1_flag |
| 297 | get and set the status of the asn1_flag for the curve. | 304 | get and set the status of the asn1_flag for the curve. |
| 298 | If set, then the curve_name must also be set. | ||
| 299 | .Pp | 305 | .Pp |
| 300 | The point_conversion_form for a curve controls how | 306 | The point_conversion_form for a curve controls how |
| 301 | .Vt EC_POINT | 307 | .Vt EC_POINT |
