summaryrefslogtreecommitdiffstats
path: root/crypto/camellia/camellia.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-01-02 15:22:19 +0000
committerMatt Caswell <matt@openssl.org>2020-01-13 13:38:20 +0000
commit291850b473ef5d83ac7d90bdcd7f68d186515348 (patch)
treedc0e82c3982d8b6a83eda65abdd14b8e7ee829e6 /crypto/camellia/camellia.c
parent652fba9ef74c1fe92b80d178ada419057d873682 (diff)
Deprecate Low Level Camellia APIs
Applications should instead use the higher level EVP APIs, e.g. EVP_Encrypt*() and EVP_Decrypt*(). Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/10741)
Diffstat (limited to 'crypto/camellia/camellia.c')
-rw-r--r--crypto/camellia/camellia.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/camellia/camellia.c b/crypto/camellia/camellia.c
index cb285d05ed..fd493a8a83 100644
--- a/crypto/camellia/camellia.c
+++ b/crypto/camellia/camellia.c
@@ -39,6 +39,12 @@
* words reasonable performance even with not so modern compilers.
*/
+/*
+ * Camellia low level APIs are deprecated for public use, but still ok for
+ * internal use.
+ */
+#include "internal/deprecated.h"
+
#include <openssl/camellia.h>
#include "cmll_local.h"
#include <string.h>