From 601fca1778f8d3cb38031655d2aa01b91b8f0cde Mon Sep 17 00:00:00 2001 From: Pauli Date: Thu, 9 Jan 2020 09:08:31 +1000 Subject: Deprecate the low level RIPEMD160 functions. Use of the low level RIPEMD160 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/10789) --- crypto/evp/legacy_ripemd.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crypto/evp/legacy_ripemd.c') diff --git a/crypto/evp/legacy_ripemd.c b/crypto/evp/legacy_ripemd.c index 8edcbba371..fd1739c7cd 100644 --- a/crypto/evp/legacy_ripemd.c +++ b/crypto/evp/legacy_ripemd.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * RIPEMD160 low level APIs are deprecated for public use, but still ok for + * internal use. + */ +#include "internal/deprecated.h" + #include #include "crypto/evp.h" #include "legacy_meth.h" -- cgit v1.2.3