summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ecp_nistp256.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-01-28 06:14:18 +0100
committerPauli <paul.dale@oracle.com>2020-02-04 11:02:55 +0100
commit579422c85cf606c0ae1d4baf414010dc21da657a (patch)
treede91afc5811afe2f3f9970afedbae4bafc0ca27b /crypto/ec/ecp_nistp256.c
parentDeprecate the ECDH functions. (diff)
downloadopenssl-579422c85cf606c0ae1d4baf414010dc21da657a.tar.xz
openssl-579422c85cf606c0ae1d4baf414010dc21da657a.zip
Deprecate the ECDSA and EV_KEY_METHOD functions.
Use of the low level ECDSA and EC_KEY_METHOD functions has been informally discouraged for a long time. We now formally deprecate them. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10960)
Diffstat (limited to 'crypto/ec/ecp_nistp256.c')
-rw-r--r--crypto/ec/ecp_nistp256.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/ec/ecp_nistp256.c b/crypto/ec/ecp_nistp256.c
index 954263c960..d9c98c83ad 100644
--- a/crypto/ec/ecp_nistp256.c
+++ b/crypto/ec/ecp_nistp256.c
@@ -24,6 +24,12 @@
*/
/*
+ * ECDSA low level APIs are deprecated for public use, but still ok for
+ * internal use.
+ */
+#include "internal/deprecated.h"
+
+/*
* A 64-bit implementation of the NIST P-256 elliptic curve point multiplication
*
* OpenSSL integration was taken from Emilia Kasper's work in ecp_nistp224.c.