summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/EC_GROUP_copy.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_GROUP_copy.3
parent19856caeaf0d2604d70b239a4528136aadac9390 (diff)
downloadopenbsd-922da778c547aca7b016abc727670321d5df6d46.tar.gz
openbsd-922da778c547aca7b016abc727670321d5df6d46.tar.bz2
openbsd-922da778c547aca7b016abc727670321d5df6d46.zip
various cleanup;
Diffstat (limited to 'src/lib/libcrypto/man/EC_GROUP_copy.3')
-rw-r--r--src/lib/libcrypto/man/EC_GROUP_copy.320
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
176sets curve paramaters that must be agreed by all participants using 176sets curve parameters that must be agreed by all participants using
177the curve. 177the curve.
178These paramaters include the 178These parameters include the
179.Fa generator , 179.Fa generator ,
180the 180the
181.Fa order 181.Fa order
@@ -219,8 +219,8 @@ If a curve does not have a NID associated with it, then
219will return 0. 219will return 0.
220.Pp 220.Pp
221The asn1_flag value on a curve is used to determine whether there is a 221The asn1_flag value on a curve is used to determine whether there is a
222specific ASN1 OID to describe the curve or not. 222specific ASN.1 OID to describe the curve or not.
223If the asn1_flag is 1 then this is a named curve with an associated ASN1 OID. 223If the asn1_flag is 1 then this is a named curve with an associated ASN.1 OID.
224If not then asn1_flag is 0. 224If not then asn1_flag is 0.
225The functions 225The 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
232The point_conversion_form for a curve controls how 232The point_conversion_form for a curve controls how
233.Vt EC_POINT 233.Vt EC_POINT
234data is encoded as ASN1 as defined in X9.62 (ECDSA). 234data is encoded as ASN.1 as defined in X9.62 (ECDSA).
235.Vt point_conversion_form_t 235.Vt point_conversion_form_t
236is an enum defined as follows: 236is 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
253has been used followed by the octets for x, followed by the octets 253has been used followed by the octets for x, followed by the octets
254for y. 254for y.
255.Pp 255.Pp
256For any given x co-ordinate for a point on a curve it is possible to 256For any given x coordinate for a point on a curve it is possible to
257derive two possible y values. 257derive two possible y values.
258For 258For
259.Dv POINT_CONVERSION_COMPRESSED 259.Dv POINT_CONVERSION_COMPRESSED
@@ -294,7 +294,7 @@ It is also possible to set a custom seed using
294and passing a pointer to a memory block, along with the length of 294and passing a pointer to a memory block, along with the length of
295the seed. 295the seed.
296Again, the EC library will not use this seed value, although it will be 296Again, the EC library will not use this seed value, although it will be
297preserved in any ASN1 based communications. 297preserved in any ASN.1 based communications.
298.Pp 298.Pp
299.Fn EC_GROUP_get_degree 299.Fn EC_GROUP_get_degree
300gets the degree of the field. 300gets 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 ,
392and 392and
393.Fn EC_GROUP_get_degree 393.Fn EC_GROUP_get_degree
394return the order, cofactor, curve name (NID), ASN1 flag, 394return the order, cofactor, curve name (NID), ASN.1 flag,
395point_conversion_form and degree for the specified curve, respectively. 395point_conversion_form and degree for the specified curve, respectively.
396If there is no curve name associated with a curve then 396If there is no curve name associated with a curve then
397.Fn EC_GROUP_get_curve_name 397.Fn EC_GROUP_get_curve_name