summaryrefslogtreecommitdiffstats
path: root/providers/defltprov.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2019-11-08 12:14:44 +1000
committerShane Lontis <shane.lontis@oracle.com>2019-11-08 12:14:44 +1000
commiteb173822b2c02122844f4ffe89e38fe8e6d04697 (patch)
treeb4a7e4e9a8a5d9ef96b629eb74dac1120bbbeb16 /providers/defltprov.c
parent1427d33cee59d6fe54efe1b5a322a1d7c8c03c20 (diff)
Add AES SIV ciphers to default provider
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/10120)
Diffstat (limited to 'providers/defltprov.c')
-rw-r--r--providers/defltprov.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c
index a0f3b8bb9f..186f1f5368 100644
--- a/providers/defltprov.c
+++ b/providers/defltprov.c
@@ -156,6 +156,11 @@ static const OSSL_ALGORITHM deflt_ciphers[] = {
{ "AES-192-OCB", "default=yes", aes192ocb_functions },
{ "AES-128-OCB", "default=yes", aes128ocb_functions },
#endif /* OPENSSL_NO_OCB */
+#ifndef OPENSSL_NO_SIV
+ { "AES-128-SIV", "default=yes", aes128siv_functions },
+ { "AES-192-SIV", "default=yes", aes192siv_functions },
+ { "AES-256-SIV", "default=yes", aes256siv_functions },
+#endif /* OPENSSL_NO_SIV */
{ "AES-256-GCM:id-aes256-GCM", "default=yes", aes256gcm_functions },
{ "AES-192-GCM:id-aes192-GCM", "default=yes", aes192gcm_functions },
{ "AES-128-GCM:id-aes128-GCM", "default=yes", aes128gcm_functions },