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:
authorAdam Langley <agl@google.com>2015-05-05 03:43:00 +0300
committerAdam Langley <agl@google.com>2015-05-05 03:53:02 +0300
commit126320c881d64cdfd1851d359da363e83d5c0f6e (patch)
treea3ca1951a06d495daad29247f2ae319b3270d759 /include/openssl/ec.h
parentc10bc853fc238b1088e9cbe12dfbc08f4c49df80 (diff)
Add dummy EC_GROUP_set_point_conversion_form.
BoringSSL always uses uncompressed points. This function aborts if another form is requested or does nothing if uncompressed points are requested. Change-Id: I80bc01444cdf9c789c9c75312b5527bf4957361b
Diffstat (limited to 'include/openssl/ec.h')
-rw-r--r--include/openssl/ec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/openssl/ec.h b/include/openssl/ec.h
index beb8db1a..aeb2285f 100644
--- a/include/openssl/ec.h
+++ b/include/openssl/ec.h
@@ -299,6 +299,11 @@ OPENSSL_EXPORT const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group);
/* EC_METHOD_get_field_type returns NID_X9_62_prime_field. */
OPENSSL_EXPORT int EC_METHOD_get_field_type(const EC_METHOD *meth);
+/* EC_GROUP_set_point_conversion_form aborts the process if |form| is not
+ * |POINT_CONVERSION_UNCOMPRESSED| and otherwise does nothing. */
+OPENSSL_EXPORT void EC_GROUP_set_point_conversion_form(
+ EC_GROUP *group, point_conversion_form_t form);
+
/* Old code expects to get EC_KEY from ec.h. */
#if !defined(OPENSSL_HEADER_EC_KEY_H)