diff options
author | Pauli <paul.dale@oracle.com> | 2020-01-09 09:08:31 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-01-12 12:00:31 +1000 |
commit | 601fca1778f8d3cb38031655d2aa01b91b8f0cde (patch) | |
tree | 651fb601498df124cfba7443d029eae278067192 /providers/implementations/digests/ripemd_prov.c | |
parent | 65167dba890b2e92821ee3b90e8f7f46fa30f9c1 (diff) |
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 <matt@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10789)
Diffstat (limited to 'providers/implementations/digests/ripemd_prov.c')
-rw-r--r-- | providers/implementations/digests/ripemd_prov.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/providers/implementations/digests/ripemd_prov.c b/providers/implementations/digests/ripemd_prov.c index 023e46cf83..697d895106 100644 --- a/providers/implementations/digests/ripemd_prov.c +++ b/providers/implementations/digests/ripemd_prov.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 <openssl/crypto.h> #include <openssl/ripemd.h> #include "prov/digestcommon.h" |