summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBilly Brumley <bbrumley@gmail.com>2020-05-17 16:09:00 +0300
committerDmitry Belyavskiy <beldmit@gmail.com>2020-05-19 16:29:37 +0300
commit6b4eb933623ed1d1997732b7e6e081b788cfdd22 (patch)
treec1cc582ed4a9a69ff050673c4ef5b5c302fe31d9 /include
parent5a5530a29abcf5d7ab7194d73b3807d568b06cbd (diff)
deprecate EC precomputation functionality
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/11851)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ec.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/openssl/ec.h b/include/openssl/ec.h
index 703fc1cd40..f05122b374 100644
--- a/include/openssl/ec.h
+++ b/include/openssl/ec.h
@@ -797,13 +797,13 @@ int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n,
* \param ctx BN_CTX object (optional)
* \return 1 on success and 0 if an error occurred
*/
-int EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx);
+DEPRECATEDIN_3_0(int EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx))
/** Reports whether a precomputation has been done
* \param group EC_GROUP object
* \return 1 if a pre-computation has been done and 0 otherwise
*/
-int EC_GROUP_have_precompute_mult(const EC_GROUP *group);
+DEPRECATEDIN_3_0(int EC_GROUP_have_precompute_mult(const EC_GROUP *group))
/********************************************************************/
/* ASN1 stuff */
@@ -991,7 +991,7 @@ void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag);
* \param ctx BN_CTX object (optional)
* \return 1 on success and 0 if an error occurred.
*/
-int EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx);
+DEPRECATEDIN_3_0(int EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx))
/** Creates a new ec private (and optional a new public) key.
* \param key EC_KEY object