summaryrefslogtreecommitdiffstats
path: root/crypto/seed/seed.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-01-14 08:35:12 +1000
committerPauli <paul.dale@oracle.com>2020-01-16 07:06:14 +1000
commit28c690cb7dd80c15c9fa45df518c555c66ad67f8 (patch)
treecfd80c4bca2f1d903826b432a312c13eefe79bc4 /crypto/seed/seed.c
parentfb8ce41398bae4e0b1fdba03a281b93daddc9eaf (diff)
Deprecate the low level SEED functions
Use of the low level SEED functions has been informally discouraged for a long time. We now formally deprecate them. Applications should instead use the EVP APIs, e.g. EVP_EncryptInit_ex, EVP_EncryptUpdate, EVP_EncryptFinal_ex, and the equivalently named decrypt functions. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/10833)
Diffstat (limited to 'crypto/seed/seed.c')
-rw-r--r--crypto/seed/seed.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/seed/seed.c b/crypto/seed/seed.c
index 224fb1f8af..492853d5c8 100644
--- a/crypto/seed/seed.c
+++ b/crypto/seed/seed.c
@@ -34,6 +34,12 @@
*/
#ifndef OPENSSL_NO_SEED
+/*
+ * SEED low level APIs are deprecated for public use, but still ok for
+ * internal use.
+ */
+#include "internal/deprecated.h"
+
# include <stdio.h>
# include <stdlib.h>
# include <string.h>