diff options
| author | sobrado <> | 2015-09-22 08:08:07 +0000 |
|---|---|---|
| committer | sobrado <> | 2015-09-22 08:08:07 +0000 |
| commit | 7746c18fb3482ba8d6fd1f9508801722028094b1 (patch) | |
| tree | 44f72e5c66d08a8e69898fb02d0eff61ca84d533 /src/lib/libcrypto/doc/EC_GROUP_copy.pod | |
| parent | b15d8c593eec3a6437fc962608396fa0c9fe134b (diff) | |
| download | openbsd-7746c18fb3482ba8d6fd1f9508801722028094b1.tar.gz openbsd-7746c18fb3482ba8d6fd1f9508801722028094b1.tar.bz2 openbsd-7746c18fb3482ba8d6fd1f9508801722028094b1.zip | |
typos in documentation; better wording, suggested by jmc@libressl-v2.3.0
ok jmc@
Diffstat (limited to 'src/lib/libcrypto/doc/EC_GROUP_copy.pod')
| -rw-r--r-- | src/lib/libcrypto/doc/EC_GROUP_copy.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/doc/EC_GROUP_copy.pod b/src/lib/libcrypto/doc/EC_GROUP_copy.pod index 49dc01ced1..d4896af1d5 100644 --- a/src/lib/libcrypto/doc/EC_GROUP_copy.pod +++ b/src/lib/libcrypto/doc/EC_GROUP_copy.pod | |||
| @@ -74,7 +74,7 @@ If the asn1_flag is 1 then this is a named curve with an associated ASN1 OID. If | |||
| 74 | EC_GROUP_get_asn1_flag and EC_GROUP_set_asn1_flag get and set the status of the asn1_flag for the curve. If set then | 74 | EC_GROUP_get_asn1_flag and EC_GROUP_set_asn1_flag get and set the status of the asn1_flag for the curve. If set then |
| 75 | the curve_name must also be set. | 75 | the curve_name must also be set. |
| 76 | 76 | ||
| 77 | The point_coversion_form for a curve controls how EC_POINT data is encoded as ASN1 as defined in X9.62 (ECDSA). | 77 | The point_conversion_form for a curve controls how EC_POINT data is encoded as ASN1 as defined in X9.62 (ECDSA). |
| 78 | point_conversion_form_t is an enum defined as follows: | 78 | point_conversion_form_t is an enum defined as follows: |
| 79 | 79 | ||
| 80 | typedef enum { | 80 | typedef enum { |
| @@ -135,7 +135,7 @@ or a pentanomial of the form: | |||
| 135 | f(x) = x^m + x^k3 + x^k2 + x^k1 + 1 with m > k3 > k2 > k1 >= 1 | 135 | f(x) = x^m + x^k3 + x^k2 + x^k1 + 1 with m > k3 > k2 > k1 >= 1 |
| 136 | 136 | ||
| 137 | The function EC_GROUP_get_basis_type returns a NID identifying whether a trinomial or pentanomial is in use for the field. The | 137 | The function EC_GROUP_get_basis_type returns a NID identifying whether a trinomial or pentanomial is in use for the field. The |
| 138 | function EC_GROUP_get_trinomial_basis must only be called where f(x) is of the trinomial form, and returns the value of B<k>. Similary | 138 | function EC_GROUP_get_trinomial_basis must only be called where f(x) is of the trinomial form, and returns the value of B<k>. Similarly |
| 139 | the function EC_GROUP_get_pentanomial_basis must only be called where f(x) is of the pentanomial form, and returns the values of B<k1>, | 139 | the function EC_GROUP_get_pentanomial_basis must only be called where f(x) is of the pentanomial form, and returns the values of B<k1>, |
| 140 | B<k2> and B<k3> respectively. | 140 | B<k2> and B<k3> respectively. |
| 141 | 141 | ||
