diff options
author | Nicola Tuveri <nic.tuv@gmail.com> | 2019-10-21 16:07:22 +0300 |
---|---|---|
committer | Nicola Tuveri <nic.tuv@gmail.com> | 2019-10-23 00:50:01 +0300 |
commit | eb2ff0408ac6e934e05db7ed4006855c018584f1 (patch) | |
tree | c9f7e2dc71b5727011d5167ffc7edea3f49f0eaa | |
parent | 4fc55c1da972a13caf93814c4e3672bec993b95e (diff) |
Fix doc for EC_GROUP_set_curve()
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9874)
-rw-r--r-- | doc/man3/EC_GROUP_new.pod | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/man3/EC_GROUP_new.pod b/doc/man3/EC_GROUP_new.pod index 39dd352af4..08bbd80b08 100644 --- a/doc/man3/EC_GROUP_new.pod +++ b/doc/man3/EC_GROUP_new.pod @@ -98,10 +98,12 @@ EC_GROUP_new() is the same as EC_GROUP_new_ex() except that the library context used is always the default library context. EC_GROUP_set_curve() sets the curve parameters B<p>, B<a> and B<b>. For a curve -over Fp B<b> is the prime for the field. For a curve over F2^m B<p> represents +over Fp B<p> is the prime for the field. For a curve over F2^m B<p> represents the irreducible polynomial - each bit represents a term in the polynomial. Therefore there will either be three or five bits set dependent on whether the polynomial is a trinomial or a pentanomial. +In either case, B<a> and B<b> represents the coefficients a and b from the +relevant equation introduced above. EC_group_get_curve() obtains the previously set curve parameters. |