diff options
author | Matt Caswell <matt@openssl.org> | 2020-01-02 16:15:26 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-01-13 13:44:27 +0000 |
commit | 0ae5d4d6f8a0cd17fb9beb5876827f311c1b350c (patch) | |
tree | 97e4560467f8b8d9b997b8ac0dd1f45029964b8c /crypto/cast | |
parent | 291850b473ef5d83ac7d90bdcd7f68d186515348 (diff) |
Deprecate the Low Level CAST APIs
Applications should instead use the higher level EVP APIs, e.g.
EVP_Encrypt*() and EVP_Decrypt*().
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10742)
Diffstat (limited to 'crypto/cast')
-rw-r--r-- | crypto/cast/c_cfb64.c | 6 | ||||
-rw-r--r-- | crypto/cast/c_ecb.c | 6 | ||||
-rw-r--r-- | crypto/cast/c_enc.c | 6 | ||||
-rw-r--r-- | crypto/cast/c_ofb64.c | 6 | ||||
-rw-r--r-- | crypto/cast/c_skey.c | 6 |
5 files changed, 30 insertions, 0 deletions
diff --git a/crypto/cast/c_cfb64.c b/crypto/cast/c_cfb64.c index 1ae13bc3d8..805a51d450 100644 --- a/crypto/cast/c_cfb64.c +++ b/crypto/cast/c_cfb64.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * CAST low level APIs are deprecated for public use, but still ok for + * internal use. + */ +#include "internal/deprecated.h" + #include <openssl/cast.h> #include "cast_local.h" diff --git a/crypto/cast/c_ecb.c b/crypto/cast/c_ecb.c index 2b841ac919..cbd044366d 100644 --- a/crypto/cast/c_ecb.c +++ b/crypto/cast/c_ecb.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * CAST low level APIs are deprecated for public use, but still ok for + * internal use. + */ +#include "internal/deprecated.h" + #include <openssl/cast.h> #include "cast_local.h" #include <openssl/opensslv.h> diff --git a/crypto/cast/c_enc.c b/crypto/cast/c_enc.c index 7e2461dfca..ede9f2e815 100644 --- a/crypto/cast/c_enc.c +++ b/crypto/cast/c_enc.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * CAST low level APIs are deprecated for public use, but still ok for + * internal use. + */ +#include "internal/deprecated.h" + #include <openssl/cast.h> #include "cast_local.h" diff --git a/crypto/cast/c_ofb64.c b/crypto/cast/c_ofb64.c index bc598d4d1b..6aaa7edfc8 100644 --- a/crypto/cast/c_ofb64.c +++ b/crypto/cast/c_ofb64.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * CAST low level APIs are deprecated for public use, but still ok for + * internal use. + */ +#include "internal/deprecated.h" + #include <openssl/cast.h> #include "cast_local.h" diff --git a/crypto/cast/c_skey.c b/crypto/cast/c_skey.c index c21ecdf89c..d516e10ee3 100644 --- a/crypto/cast/c_skey.c +++ b/crypto/cast/c_skey.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * CAST low level APIs are deprecated for public use, but still ok for + * internal use. + */ +#include "internal/deprecated.h" + #include <openssl/cast.h> #include "cast_local.h" #include "cast_s.h" |