diff options
author | Matt Caswell <matt@openssl.org> | 2020-01-02 14:25:27 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-01-08 11:25:25 +0000 |
commit | 03047e7b7f64b054fa85d101e7097af5daf7a865 (patch) | |
tree | 38c18f72c1a38605c1dcf885d8b25df45e161ef8 /providers | |
parent | 339638b586e77c189e8294f931b99b03d1f08dbd (diff) |
Deprecate Low Level Blowfish APIs
Applications should instead use the higher level EVP APIs, e.g.
EVP_Encrypt*() and EVP_Decrypt*().
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10740)
Diffstat (limited to 'providers')
-rw-r--r-- | providers/implementations/ciphers/cipher_blowfish.c | 6 | ||||
-rw-r--r-- | providers/implementations/ciphers/cipher_blowfish_hw.c | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/providers/implementations/ciphers/cipher_blowfish.c b/providers/implementations/ciphers/cipher_blowfish.c index 1ffb9452a8..75352862c5 100644 --- a/providers/implementations/ciphers/cipher_blowfish.c +++ b/providers/implementations/ciphers/cipher_blowfish.c @@ -9,6 +9,12 @@ /* Dispatch functions for Blowfish cipher modes ecb, cbc, ofb, cfb */ +/* + * BF low level APIs are deprecated for public use, but still ok for internal + * use. + */ +#include "internal/deprecated.h" + #include "cipher_blowfish.h" #include "prov/implementations.h" diff --git a/providers/implementations/ciphers/cipher_blowfish_hw.c b/providers/implementations/ciphers/cipher_blowfish_hw.c index 137aeef5ca..1a3957c0f4 100644 --- a/providers/implementations/ciphers/cipher_blowfish_hw.c +++ b/providers/implementations/ciphers/cipher_blowfish_hw.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * BF low level APIs are deprecated for public use, but still ok for internal + * use. + */ +#include "internal/deprecated.h" + #include "cipher_blowfish.h" static int cipher_hw_blowfish_initkey(PROV_CIPHER_CTX *ctx, |