summaryrefslogtreecommitdiffstats
path: root/crypto/evp/e_rc5.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-01-14 10:33:03 +1000
committerPauli <paul.dale@oracle.com>2020-01-16 07:07:27 +1000
commit62c3fed0cd52316259e4e2c0e5878bcfa69b38f9 (patch)
tree72dd00534999ea41ab76b23b3271a95c1222ac45 /crypto/evp/e_rc5.c
parent26aae51347465764c755f0985bd1ac85d3f734e6 (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/evp/e_rc5.c')
-rw-r--r--crypto/evp/e_rc5.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/evp/e_rc5.c b/crypto/evp/e_rc5.c
index 4783cc31ca..96066e8532 100644
--- a/crypto/evp/e_rc5.c
+++ b/crypto/evp/e_rc5.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 "internal/cryptlib.h"