diff options
author | Pauli <paul.dale@oracle.com> | 2020-01-14 10:33:03 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-01-16 07:07:27 +1000 |
commit | 62c3fed0cd52316259e4e2c0e5878bcfa69b38f9 (patch) | |
tree | 72dd00534999ea41ab76b23b3271a95c1222ac45 /crypto/rc5 | |
parent | 26aae51347465764c755f0985bd1ac85d3f734e6 (diff) |
Deprecate the low level RC5 functions
Use of the low level RC5 functions has been informally discouraged for a long
time. We now formally deprecate them.
Applications should instead use the EVP APIs, e.g. EVP_EncryptInit_ex,
EVP_EncryptUpdate, EVP_EncryptFinal_ex and the equivalently named decrypt
functions.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10834)
Diffstat (limited to 'crypto/rc5')
-rw-r--r-- | crypto/rc5/rc5_ecb.c | 6 | ||||
-rw-r--r-- | crypto/rc5/rc5_enc.c | 6 | ||||
-rw-r--r-- | crypto/rc5/rc5_skey.c | 6 | ||||
-rw-r--r-- | crypto/rc5/rc5cfb64.c | 6 | ||||
-rw-r--r-- | crypto/rc5/rc5ofb64.c | 6 |
5 files changed, 30 insertions, 0 deletions
diff --git a/crypto/rc5/rc5_ecb.c b/crypto/rc5/rc5_ecb.c index 51c14fd54d..39c36b6156 100644 --- a/crypto/rc5/rc5_ecb.c +++ b/crypto/rc5/rc5_ecb.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * RC5 low level APIs are deprecated for public use, but still ok for internal + * use. + */ +#include "internal/deprecated.h" + #include <openssl/rc5.h> #include "rc5_local.h" #include <openssl/opensslv.h> diff --git a/crypto/rc5/rc5_enc.c b/crypto/rc5/rc5_enc.c index c91fa99ce8..0fa80a50af 100644 --- a/crypto/rc5/rc5_enc.c +++ b/crypto/rc5/rc5_enc.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * RC5 low level APIs are deprecated for public use, but still ok for internal + * use. + */ +#include "internal/deprecated.h" + #include <stdio.h> #include <openssl/rc5.h> #include "rc5_local.h" diff --git a/crypto/rc5/rc5_skey.c b/crypto/rc5/rc5_skey.c index 22a5df1486..dc8617f6d5 100644 --- a/crypto/rc5/rc5_skey.c +++ b/crypto/rc5/rc5_skey.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * RC5 low level APIs are deprecated for public use, but still ok for internal + * use. + */ +#include "internal/deprecated.h" + #include <openssl/rc5.h> #include "rc5_local.h" diff --git a/crypto/rc5/rc5cfb64.c b/crypto/rc5/rc5cfb64.c index 001e1240ab..99b1753ad1 100644 --- a/crypto/rc5/rc5cfb64.c +++ b/crypto/rc5/rc5cfb64.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * RC5 low level APIs are deprecated for public use, but still ok for internal + * use. + */ +#include "internal/deprecated.h" + #include <openssl/rc5.h> #include "rc5_local.h" diff --git a/crypto/rc5/rc5ofb64.c b/crypto/rc5/rc5ofb64.c index c3ae5d8c05..7fc19fd1ed 100644 --- a/crypto/rc5/rc5ofb64.c +++ b/crypto/rc5/rc5ofb64.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * RC5 low level APIs are deprecated for public use, but still ok for internal + * use. + */ +#include "internal/deprecated.h" + #include <openssl/rc5.h> #include "rc5_local.h" |