]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Add tests for KTLS with Chacha20-Poly1035.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 24 Dec 2020 00:15:01 +0000 (16:15 -0800)
committerTomas Mraz <tomas@openssl.org>
Mon, 21 Jun 2021 07:28:43 +0000 (09:28 +0200)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15814)

test/sslapitest.c

index 15c65f69ae24a3c52cb20f40287984efdbdc054d..850c941ac248d6a5782c18c106e93fe11cf6d767 100644 (file)
@@ -1407,6 +1407,9 @@ static struct ktls_test_cipher {
 #  ifdef OPENSSL_KTLS_AES_GCM_256
     { TLS1_2_VERSION, "AES256-GCM-SHA384"},
 #  endif
+#  ifdef OPENSSL_KTLS_CHACHA20_POLY1305
+    { TLS1_2_VERSION, "ECDHE-RSA-CHACHA20-POLY1305"},
+#  endif
 # endif
 # if !defined(OSSL_NO_USABLE_TLS1_3)
 #  ifdef OPENSSL_KTLS_AES_GCM_128
@@ -1418,6 +1421,9 @@ static struct ktls_test_cipher {
 #  ifdef OPENSSL_KTLS_AES_GCM_256
     { TLS1_3_VERSION, "TLS_AES_256_GCM_SHA384" },
 #  endif
+#  ifdef OPENSSL_KTLS_CHACHA20_POLY1305
+    { TLS1_3_VERSION, "TLS_CHACHA20_POLY1305_SHA256" },
+#  endif
 # endif
 };