From 4f8ad92ab491d59cebce4ed5a7ee35775e59f893 Mon Sep 17 00:00:00 2001 From: Aaron Jones Date: Mon, 13 Aug 2018 22:34:16 +0000 Subject: [PATCH] MbedTLS: Support ChaCha20-Poly1305 in TLSv1.2+ --- libratbox/src/mbedtls_ratbox.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libratbox/src/mbedtls_ratbox.h b/libratbox/src/mbedtls_ratbox.h index 2eb96abf..507a8366 100644 --- a/libratbox/src/mbedtls_ratbox.h +++ b/libratbox/src/mbedtls_ratbox.h @@ -75,6 +75,12 @@ static const int rb_mbedtls_ciphersuites[] = { // AEAD forward-secret ciphersuites +#ifdef MBEDTLS_TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 + MBEDTLS_TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256, + MBEDTLS_TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256, + MBEDTLS_TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256, +#endif + MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, MBEDTLS_TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384, MBEDTLS_TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,