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 /providers | |
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 'providers')
-rw-r--r-- | providers/implementations/ciphers/cipher_cast5.c | 6 | ||||
-rw-r--r-- | providers/implementations/ciphers/cipher_cast5_hw.c | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/providers/implementations/ciphers/cipher_cast5.c b/providers/implementations/ciphers/cipher_cast5.c index 473a7f02b9..24cb59d103 100644 --- a/providers/implementations/ciphers/cipher_cast5.c +++ b/providers/implementations/ciphers/cipher_cast5.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" + /* Dispatch functions for cast cipher modes ecb, cbc, ofb, cfb */ #include "cipher_cast.h" diff --git a/providers/implementations/ciphers/cipher_cast5_hw.c b/providers/implementations/ciphers/cipher_cast5_hw.c index 227e90d7a7..beeeb593f0 100644 --- a/providers/implementations/ciphers/cipher_cast5_hw.c +++ b/providers/implementations/ciphers/cipher_cast5_hw.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 "cipher_cast.h" static int cipher_hw_cast5_initkey(PROV_CIPHER_CTX *ctx, |