From 7c3aa39fe38a70450b5bf3665ca48be80c5ff287 Mon Sep 17 00:00:00 2001 From: Pauli Date: Wed, 8 Jan 2020 15:13:11 +1000 Subject: Deprecate the low level Whirlpool functions. Use of the low level Whirlpool functions has been informally discouraged for a long time. We now formally deprecate them. Applications should instead use the EVP APIs, e.g. EVP_Digest, EVP_DigestInit_ex, EVP_DigestUpdate and EVP_DigestFinal_ex. Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/10779) --- providers/implementations/digests/wp_prov.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'providers/implementations/digests') diff --git a/providers/implementations/digests/wp_prov.c b/providers/implementations/digests/wp_prov.c index 75fcc0dffc..9c38c6859f 100644 --- a/providers/implementations/digests/wp_prov.c +++ b/providers/implementations/digests/wp_prov.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * Whirlpool low level APIs are deprecated for public use, but still ok for + * internal use. + */ +#include "internal/deprecated.h" + #include #include #include "prov/digestcommon.h" -- cgit v1.2.3