summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBilly Brumley <bbrumley@gmail.com>2020-05-13 07:33:59 +0300
committerMatt Caswell <matt@openssl.org>2020-05-16 17:20:37 +0100
commit4fcd15c18ad6b5523a389863d3e5628d44db6eb4 (patch)
tree5150a30cd2e34938b3a359b1bdfb13736634d262 /include
parent06a2027bd58bcd109cab88e3ce27726613eeab50 (diff)
deprecate EC_POINTs_mul function
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11807)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ec.h7
-rw-r--r--include/openssl/ecerr.h1
2 files changed, 5 insertions, 3 deletions
diff --git a/include/openssl/ec.h b/include/openssl/ec.h
index 09c3e2916f..703fc1cd40 100644
--- a/include/openssl/ec.h
+++ b/include/openssl/ec.h
@@ -775,9 +775,10 @@ int EC_POINTs_make_affine(const EC_GROUP *group, size_t num,
* \param ctx BN_CTX object (optional)
* \return 1 on success and 0 if an error occurred
*/
-int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n,
- size_t num, const EC_POINT *p[], const BIGNUM *m[],
- BN_CTX *ctx);
+DEPRECATEDIN_3_0(int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r,
+ const BIGNUM *n, size_t num,
+ const EC_POINT *p[], const BIGNUM *m[],
+ BN_CTX *ctx))
/** Computes r = generator * n + q * m
* \param group underlying EC_GROUP object
diff --git a/include/openssl/ecerr.h b/include/openssl/ecerr.h
index cf845fbb1a..49adc7c681 100644
--- a/include/openssl/ecerr.h
+++ b/include/openssl/ecerr.h
@@ -170,6 +170,7 @@ int ERR_load_EC_strings(void);
# define EC_F_EC_POINT_IS_AT_INFINITY 0
# define EC_F_EC_POINT_IS_ON_CURVE 0
# define EC_F_EC_POINT_MAKE_AFFINE 0
+# define EC_F_EC_POINT_MUL 0
# define EC_F_EC_POINT_NEW 0
# define EC_F_EC_POINT_OCT2POINT 0
# define EC_F_EC_POINT_POINT2BUF 0