summaryrefslogtreecommitdiffstats
path: root/providers
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-01-09 09:08:31 +1000
committerPauli <paul.dale@oracle.com>2020-01-12 12:00:31 +1000
commit601fca1778f8d3cb38031655d2aa01b91b8f0cde (patch)
tree651fb601498df124cfba7443d029eae278067192 /providers
parent65167dba890b2e92821ee3b90e8f7f46fa30f9c1 (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')
-rw-r--r--providers/implementations/digests/ripemd_prov.c6
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"