Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2015-09-19 20:39:40 +0300
committerAdam Langley <agl@google.com>2015-09-24 02:57:01 +0300
commit5e4158fe12a37463d969479f40e58441d1431864 (patch)
tree17397626e96608c6b46015da53ea4d56bac43fce
parentb86b0f2824302e3b11e03fa675c9f0ca5541fb48 (diff)
Fix the comment for POINT_CONVERSION_UNCOMPRESSED
The |z| value should be 0x04 not 0x02 RT#3838 (Imported from upstream's 41fe7d2380617da515581503490f1467ee75a521.) Change-Id: I35745cd2a5a32bd726cb4d3c0613cef2bcbef35b Reviewed-on: https://boringssl-review.googlesource.com/5946 Reviewed-by: Adam Langley <agl@google.com>
-rw-r--r--include/openssl/ec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/ec.h b/include/openssl/ec.h
index f664211c..004c9490 100644
--- a/include/openssl/ec.h
+++ b/include/openssl/ec.h
@@ -87,7 +87,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
} point_conversion_form_t;