From 8d93dd76ad9460b31481e6044b8d7076a2521c2f 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+ --- librb/src/mbedtls_ratbox.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/librb/src/mbedtls_ratbox.h b/librb/src/mbedtls_ratbox.h index caff5d62..72e92721 100644 --- a/librb/src/mbedtls_ratbox.h +++ b/librb/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,