summaryrefslogtreecommitdiffstats
path: root/providers/default/defltprov.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2019-10-03 08:05:49 +0200
committerShane Lontis <shane.lontis@oracle.com>2019-10-03 08:05:49 +0200
commit6a41156c20cbccc56c46bf6a5f7d2ac45cc1679a (patch)
treeacb2b71b15d5fe8b962ffb6141967cb4a379c201 /providers/default/defltprov.c
parentAdd arm64 in test matrix on TravisCI. (diff)
downloadopenssl-6a41156c20cbccc56c46bf6a5f7d2ac45cc1679a.tar.xz
openssl-6a41156c20cbccc56c46bf6a5f7d2ac45cc1679a.zip
Add rc5 ciphers to default provider
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10006)
Diffstat (limited to 'providers/default/defltprov.c')
-rw-r--r--providers/default/defltprov.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/providers/default/defltprov.c b/providers/default/defltprov.c
index 7cfec618ce..bcb897ba1c 100644
--- a/providers/default/defltprov.c
+++ b/providers/default/defltprov.c
@@ -241,6 +241,12 @@ static const OSSL_ALGORITHM deflt_ciphers[] = {
{ "RC4", "default=yes", rc4128_functions },
{ "RC4-40", "default=yes", rc440_functions },
#endif /* OPENSSL_NO_RC4 */
+#ifndef OPENSSL_NO_RC5
+ { "RC5-ECB", "default=yes", rc5128ecb_functions },
+ { "RC5-CBC", "default=yes", rc5128cbc_functions },
+ { "RC5-OFB", "default=yes", rc5128ofb64_functions },
+ { "RC5-CFB", "default=yes", rc5128cfb64_functions },
+#endif /* OPENSSL_NO_RC5 */
{ NULL, NULL, NULL }
};