summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ecdh_kdf.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-01-28 03:38:47 +0100
committerPauli <paul.dale@oracle.com>2020-02-04 11:02:55 +0100
commit5e3f9aa4e9a915f25b36bb085515d4786a253385 (patch)
treef4647a215cc450ea54adef7c8a62c08b962d52f7 /crypto/ec/ecdh_kdf.c
parentec.h: fix preprocessor indentation (diff)
downloadopenssl-5e3f9aa4e9a915f25b36bb085515d4786a253385.tar.xz
openssl-5e3f9aa4e9a915f25b36bb085515d4786a253385.zip
Deprecate the ECDH functions.
Use of the low level ECDH 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/ecdh_kdf.c')
-rw-r--r--crypto/ec/ecdh_kdf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/ec/ecdh_kdf.c b/crypto/ec/ecdh_kdf.c
index 000b12a515..bc9c968655 100644
--- a/crypto/ec/ecdh_kdf.c
+++ b/crypto/ec/ecdh_kdf.c
@@ -7,6 +7,12 @@
* https://www.openssl.org/source/license.html
*/
+/*
+ * ECDH low level APIs are deprecated for public use, but still ok for
+ * internal use.
+ */
+#include "internal/deprecated.h"
+
#include <string.h>
#include <openssl/core_names.h>
#include <openssl/ec.h>