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/rc5_ecb.c | |
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/rc5_ecb.c')
-rw-r--r-- | crypto/rc5/rc5_ecb.c | 6 |
1 files changed, 6 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> |