Remove |EC_GROUP_precompute_mult| and |EC_KEY_precompute_mult|.

Change-Id: I1663ec6046b8f1f67a62e4c6483af719d6f362ad
Reviewed-on: https://boringssl-review.googlesource.com/6486
Reviewed-by: Adam Langley <agl@google.com>
diff --git a/crypto/ec/ec.c b/crypto/ec/ec.c
index 63291a1..021ab1f 100644
--- a/crypto/ec/ec.c
+++ b/crypto/ec/ec.c
@@ -641,14 +641,6 @@
   return ec_GFp_simple_group_get_degree(group);
 }
 
-int EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx) {
-  return 1;
-}
-
-int EC_GROUP_have_precompute_mult(const EC_GROUP *group) {
-  return 1;
-}
-
 EC_POINT *EC_POINT_new(const EC_GROUP *group) {
   EC_POINT *ret;
 
diff --git a/crypto/ec/ec_key.c b/crypto/ec/ec_key.c
index 69db198..afc5a9f 100644
--- a/crypto/ec/ec_key.c
+++ b/crypto/ec/ec_key.c
@@ -286,10 +286,6 @@
   key->conv_form = cform;
 }
 
-int EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx) {
-  return 1;
-}
-
 int EC_KEY_check_key(const EC_KEY *eckey) {
   int ok = 0;
   BN_CTX *ctx = NULL;
diff --git a/include/openssl/ec.h b/include/openssl/ec.h
index 5e23f4b..95f25f8 100644
--- a/include/openssl/ec.h
+++ b/include/openssl/ec.h
@@ -290,12 +290,6 @@
                                                 const BIGNUM *a,
                                                 const BIGNUM *b, BN_CTX *ctx);
 
-/* EC_GROUP_precompute_mult does nothing and returns one. */
-OPENSSL_EXPORT int EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx);
-
-/* EC_GROUP_have_precompute_mult does nothing and returns one. */
-OPENSSL_EXPORT int EC_GROUP_have_precompute_mult(const EC_GROUP *group);
-
 /* EC_GROUP_set_generator sets the generator for |group| to |generator|, which
  * must have the given order and cofactor. This should only be used with
  * |EC_GROUP| objects returned by |EC_GROUP_new_curve_GFp|. */
diff --git a/include/openssl/ec_key.h b/include/openssl/ec_key.h
index c341d0b..5226796 100644
--- a/include/openssl/ec_key.h
+++ b/include/openssl/ec_key.h
@@ -269,9 +269,6 @@
 
 /* Deprecated functions. */
 
-/* EC_KEY_precompute_mult does nothing and returns 1. */
-OPENSSL_EXPORT int EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx);
-
 /* EC_KEY_set_asn1_flag does nothing. */
 OPENSSL_EXPORT void EC_KEY_set_asn1_flag(EC_KEY *key, int flag);