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 /crypto | |
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 'crypto')
-rw-r--r-- | crypto/bf/bf_cfb64.c | 6 | ||||
-rw-r--r-- | crypto/bf/bf_ecb.c | 6 | ||||
-rw-r--r-- | crypto/bf/bf_enc.c | 6 | ||||
-rw-r--r-- | crypto/bf/bf_ofb64.c | 6 | ||||
-rw-r--r-- | crypto/bf/bf_skey.c | 6 | ||||
-rw-r--r-- | crypto/evp/e_bf.c | 6 |
6 files changed, 36 insertions, 0 deletions
diff --git a/crypto/bf/bf_cfb64.c b/crypto/bf/bf_cfb64.c index 6f4fe33e5e..2660270fdf 100644 --- a/crypto/bf/bf_cfb64.c +++ b/crypto/bf/bf_cfb64.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 <openssl/blowfish.h> #include "bf_local.h" diff --git a/crypto/bf/bf_ecb.c b/crypto/bf/bf_ecb.c index 512d717608..e0fd39119b 100644 --- a/crypto/bf/bf_ecb.c +++ b/crypto/bf/bf_ecb.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 <openssl/blowfish.h> #include "bf_local.h" #include <openssl/opensslv.h> diff --git a/crypto/bf/bf_enc.c b/crypto/bf/bf_enc.c index 3f0c5b4e4d..7a8f8db776 100644 --- a/crypto/bf/bf_enc.c +++ b/crypto/bf/bf_enc.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 <openssl/blowfish.h> #include "bf_local.h" diff --git a/crypto/bf/bf_ofb64.c b/crypto/bf/bf_ofb64.c index 8df34aa186..f0863ee9e4 100644 --- a/crypto/bf/bf_ofb64.c +++ b/crypto/bf/bf_ofb64.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 <openssl/blowfish.h> #include "bf_local.h" diff --git a/crypto/bf/bf_skey.c b/crypto/bf/bf_skey.c index e358b1ded7..08189442bf 100644 --- a/crypto/bf/bf_skey.c +++ b/crypto/bf/bf_skey.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 <stdio.h> #include <string.h> #include <openssl/blowfish.h> diff --git a/crypto/evp/e_bf.c b/crypto/evp/e_bf.c index 0ac49fe1fe..57976b8bdc 100644 --- a/crypto/evp/e_bf.c +++ b/crypto/evp/e_bf.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 <stdio.h> #include "internal/cryptlib.h" #ifndef OPENSSL_NO_BF |