From c72fa2554f5adc03bcc3c6e4ebcd1929e70efed4 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 5 Dec 2019 17:09:49 +0000 Subject: Deprecate the low level AES functions Use of the low level AES 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: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/10580) --- engines/e_padlock.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines') diff --git a/engines/e_padlock.c b/engines/e_padlock.c index 78e9c79521..3f86545c53 100644 --- a/engines/e_padlock.c +++ b/engines/e_padlock.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * This file uses the low level AES functions (which are deprecated for + * non-internal use) in order to implement the padlock engine AES ciphers. + */ +#define OPENSSL_SUPPRESS_DEPRECATED + #include #include -- cgit v1.2.3