diff options
Diffstat (limited to 'src/lib/libcrypto/man/EC_GROUP_copy.3')
-rw-r--r-- | src/lib/libcrypto/man/EC_GROUP_copy.3 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/libcrypto/man/EC_GROUP_copy.3 b/src/lib/libcrypto/man/EC_GROUP_copy.3 index 25ef67344d..37b3d089bc 100644 --- a/src/lib/libcrypto/man/EC_GROUP_copy.3 +++ b/src/lib/libcrypto/man/EC_GROUP_copy.3 | |||
@@ -1,6 +1,6 @@ | |||
1 | .\" $OpenBSD: EC_GROUP_copy.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ | 1 | .\" $OpenBSD: EC_GROUP_copy.3,v 1.3 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_GROUP_COPY 3 | 4 | .Dt EC_GROUP_COPY 3 |
5 | .Os | 5 | .Os |
6 | .Sh NAME | 6 | .Sh NAME |
@@ -173,9 +173,9 @@ of | |||
173 | .Fa group . | 173 | .Fa group . |
174 | .Pp | 174 | .Pp |
175 | .Fn EC_GROUP_set_generator | 175 | .Fn EC_GROUP_set_generator |
176 | sets curve paramaters that must be agreed by all participants using | 176 | sets curve parameters that must be agreed by all participants using |
177 | the curve. | 177 | the curve. |
178 | These paramaters include the | 178 | These parameters include the |
179 | .Fa generator , | 179 | .Fa generator , |
180 | the | 180 | the |
181 | .Fa order | 181 | .Fa order |
@@ -219,8 +219,8 @@ If a curve does not have a NID associated with it, then | |||
219 | will return 0. | 219 | will return 0. |
220 | .Pp | 220 | .Pp |
221 | The asn1_flag value on a curve is used to determine whether there is a | 221 | The asn1_flag value on a curve is used to determine whether there is a |
222 | specific ASN1 OID to describe the curve or not. | 222 | specific ASN.1 OID to describe the curve or not. |
223 | If the asn1_flag is 1 then this is a named curve with an associated ASN1 OID. | 223 | If the asn1_flag is 1 then this is a named curve with an associated ASN.1 OID. |
224 | If not then asn1_flag is 0. | 224 | If not then asn1_flag is 0. |
225 | The functions | 225 | The functions |
226 | .Fn EC_GROUP_get_asn1_flag | 226 | .Fn EC_GROUP_get_asn1_flag |
@@ -231,7 +231,7 @@ If set, then the curve_name must also be set. | |||
231 | .Pp | 231 | .Pp |
232 | The point_conversion_form for a curve controls how | 232 | The point_conversion_form for a curve controls how |
233 | .Vt EC_POINT | 233 | .Vt EC_POINT |
234 | data is encoded as ASN1 as defined in X9.62 (ECDSA). | 234 | data is encoded as ASN.1 as defined in X9.62 (ECDSA). |
235 | .Vt point_conversion_form_t | 235 | .Vt point_conversion_form_t |
236 | is an enum defined as follows: | 236 | is an enum defined as follows: |
237 | .Bd -literal | 237 | .Bd -literal |
@@ -253,7 +253,7 @@ the point is encoded as an octet signifying the UNCOMPRESSED form | |||
253 | has been used followed by the octets for x, followed by the octets | 253 | has been used followed by the octets for x, followed by the octets |
254 | for y. | 254 | for y. |
255 | .Pp | 255 | .Pp |
256 | For any given x co-ordinate for a point on a curve it is possible to | 256 | For any given x coordinate for a point on a curve it is possible to |
257 | derive two possible y values. | 257 | derive two possible y values. |
258 | For | 258 | For |
259 | .Dv POINT_CONVERSION_COMPRESSED | 259 | .Dv POINT_CONVERSION_COMPRESSED |
@@ -294,7 +294,7 @@ It is also possible to set a custom seed using | |||
294 | and passing a pointer to a memory block, along with the length of | 294 | and passing a pointer to a memory block, along with the length of |
295 | the seed. | 295 | the seed. |
296 | Again, the EC library will not use this seed value, although it will be | 296 | Again, the EC library will not use this seed value, although it will be |
297 | preserved in any ASN1 based communications. | 297 | preserved in any ASN.1 based communications. |
298 | .Pp | 298 | .Pp |
299 | .Fn EC_GROUP_get_degree | 299 | .Fn EC_GROUP_get_degree |
300 | gets the degree of the field. | 300 | gets the degree of the field. |
@@ -391,7 +391,7 @@ on error. | |||
391 | .Fn EC_GROUP_get_point_conversion_form , | 391 | .Fn EC_GROUP_get_point_conversion_form , |
392 | and | 392 | and |
393 | .Fn EC_GROUP_get_degree | 393 | .Fn EC_GROUP_get_degree |
394 | return the order, cofactor, curve name (NID), ASN1 flag, | 394 | return the order, cofactor, curve name (NID), ASN.1 flag, |
395 | point_conversion_form and degree for the specified curve, respectively. | 395 | point_conversion_form and degree for the specified curve, respectively. |
396 | If there is no curve name associated with a curve then | 396 | If there is no curve name associated with a curve then |
397 | .Fn EC_GROUP_get_curve_name | 397 | .Fn EC_GROUP_get_curve_name |