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
diff --git a/include/openssl/ec.h b/include/openssl/ec.h index beb8db1..aeb2285 100644 --- a/include/openssl/ec.h +++ b/include/openssl/ec.h
@@ -299,6 +299,11 @@ /* 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)