diff options
author | Tim Zhang <tim.zhang@irdeto.com> | 2015-05-11 10:58:51 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-09-01 23:55:47 +0100 |
commit | 525e13612ee692e9d827c27b99c7e38583f887f3 (patch) | |
tree | 9848889e9494721f5b1a9da1c8a1309b0c0f49c4 /crypto | |
parent | 5999b897ff6e64a79c97598569361ca15734e6e1 (diff) |
Fix the comment for POINT_CONVERSION_UNCOMPRESSED
The |z| value should be 0x04 not 0x02
RT#3838
Signed-off-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit 91d2728b38b1df930f337e163816a0fc9580b6a6)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/ec/ec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ec.h b/crypto/ec/ec.h index c4e7aea938..2a935fdb57 100644 --- a/crypto/ec/ec.h +++ b/crypto/ec/ec.h @@ -106,7 +106,7 @@ typedef enum { /** 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 */ |