summaryrefslogtreecommitdiffstats
path: root/providers/implementations/digests
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-01-08 15:13:11 +1000
committerPauli <paul.dale@oracle.com>2020-01-12 12:05:04 +1000
commit7c3aa39fe38a70450b5bf3665ca48be80c5ff287 (patch)
tree5ee022ba2334c7078908237ed36259e2fd49bf95 /providers/implementations/digests
parentc52ec197aae43e624702a79cdbb73a1d2c7c9d09 (diff)
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 <matt@openssl.org> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/10779)
Diffstat (limited to 'providers/implementations/digests')
-rw-r--r--providers/implementations/digests/wp_prov.c6
1 files changed, 6 insertions, 0 deletions
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 <openssl/crypto.h>
#include <openssl/whrlpool.h>
#include "prov/digestcommon.h"