From da2d32f6db1c9fb33478af660daddcd1df369716 Mon Sep 17 00:00:00 2001 From: Pauli Date: Mon, 13 Jan 2020 13:02:45 +1000 Subject: Deprecate the low level IDEA functions. Use of the low level IDEA functions has been informally discouraged for a long time. We now formally deprecate them. Applications should instead use the EVP APIs, e.g. EVP_EncryptInit_ex, EVP_EncryptUpdate, EVP_EncryptFinal_ex, and the equivalently named decrypt functions. Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/10819) --- crypto/idea/i_cbc.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crypto/idea/i_cbc.c') diff --git a/crypto/idea/i_cbc.c b/crypto/idea/i_cbc.c index a78841fcfc..987ba05ea1 100644 --- a/crypto/idea/i_cbc.c +++ b/crypto/idea/i_cbc.c @@ -7,6 +7,13 @@ * https://www.openssl.org/source/license.html */ +/* + * IDEA low level APIs are deprecated for public use, but still ok for internal + * use where we're using them to implement the higher level EVP interface, as is + * the case here. + */ +#include "internal/deprecated.h" + #include #include "idea_local.h" -- cgit v1.2.3