diff options
author | John Baldwin <jhb@FreeBSD.org> | 2020-12-23 16:15:01 -0800 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-06-21 09:28:43 +0200 |
commit | 11bac1b4c40464850c96225f92a9dc8ac54c35de (patch) | |
tree | 45844938051a052da603845236af072155eb32bd /test/sslapitest.c | |
parent | e1fdd5262e4a45ce3aaa631768e877ee7b6da21b (diff) | |
download | openssl-new-11bac1b4c40464850c96225f92a9dc8ac54c35de.tar.gz |
Add tests for KTLS with Chacha20-Poly1035.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15814)
Diffstat (limited to 'test/sslapitest.c')
-rw-r--r-- | test/sslapitest.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/sslapitest.c b/test/sslapitest.c index 15c65f69ae..850c941ac2 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -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 }; |