diff options
author | Pauli <paul.dale@oracle.com> | 2020-01-28 15:14:18 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-02-04 20:02:55 +1000 |
commit | 579422c85cf606c0ae1d4baf414010dc21da657a (patch) | |
tree | de91afc5811afe2f3f9970afedbae4bafc0ca27b /crypto/sm2 | |
parent | 5e3f9aa4e9a915f25b36bb085515d4786a253385 (diff) |
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/sm2')
-rw-r--r-- | crypto/sm2/sm2_crypt.c | 6 | ||||
-rw-r--r-- | crypto/sm2/sm2_pmeth.c | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/crypto/sm2/sm2_crypt.c b/crypto/sm2/sm2_crypt.c index 102f02651a..934c957d8b 100644 --- a/crypto/sm2/sm2_crypt.c +++ b/crypto/sm2/sm2_crypt.c @@ -9,6 +9,12 @@ * https://www.openssl.org/source/license.html */ +/* + * ECDSA low level APIs are deprecated for public use, but still ok for + * internal use. + */ +#include "internal/deprecated.h" + #include "crypto/sm2.h" #include "crypto/sm2err.h" #include "crypto/ec.h" /* ecdh_KDF_X9_63() */ diff --git a/crypto/sm2/sm2_pmeth.c b/crypto/sm2/sm2_pmeth.c index 1068b7b901..681a0ab130 100644 --- a/crypto/sm2/sm2_pmeth.c +++ b/crypto/sm2/sm2_pmeth.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * ECDSA low level APIs are deprecated for public use, but still ok for + * internal use. + */ +#include "internal/deprecated.h" + #include "internal/cryptlib.h" #include <openssl/asn1t.h> #include <openssl/ec.h> |