summaryrefslogtreecommitdiffstats
path: root/doc/crypto/EC_GROUP_copy.pod
diff options
context:
space:
mode:
authorhuangqinjin <huangqinjin@gmail.com>2016-06-20 00:17:51 +0800
committerRich Salz <rsalz@openssl.org>2016-06-20 09:53:21 -0400
commit14f4656058e8ddbcf1d510bc73670250ed0e10c0 (patch)
tree7fa3dc4ac1554fbc35f7e8aa15645f6216f034fd /doc/crypto/EC_GROUP_copy.pod
parentb88e95f3a0bbe4656697c6af4023c5848f93081a (diff)
doc and comment fixes
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1233)
Diffstat (limited to 'doc/crypto/EC_GROUP_copy.pod')
-rw-r--r--doc/crypto/EC_GROUP_copy.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/crypto/EC_GROUP_copy.pod b/doc/crypto/EC_GROUP_copy.pod
index e10199e7d1..aef888736a 100644
--- a/doc/crypto/EC_GROUP_copy.pod
+++ b/doc/crypto/EC_GROUP_copy.pod
@@ -18,7 +18,7 @@ EC_GROUP_copy, EC_GROUP_dup, EC_GROUP_method_of, EC_GROUP_set_generator, EC_GROU
int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx);
const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group);
- const BIGNUM *EC_GROUP_order_bits(const EC_GROUP *group);
+ int EC_GROUP_order_bits(const EC_GROUP *group);
int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx);
const BIGNUM *EC_GROUP_get0_cofactor(const EC_GROUP *group);
@@ -91,7 +91,7 @@ point_conversion_form_t is an enum defined as follows:
/** the point is encoded as z||x, where the octet z specifies
* which solution of the quadratic equation y is */
POINT_CONVERSION_COMPRESSED = 2,
- /** the point is encoded as z||x||y, where z is the octet 0x02 */
+ /** the point is encoded as z||x||y, where z is the octet 0x04 */
POINT_CONVERSION_UNCOMPRESSED = 4,
/** the point is encoded as z||x||y, where the octet z specifies
* which solution of the quadratic equation y is */