From cc2393555db9449190ee780e817f5f7c254134d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Moska=C5=82a?= Date: Sat, 28 Jan 2023 18:12:23 +0100 Subject: [PATCH] Only chacha20-poly1305 --- src/bearssl/src/ssl/ssl_client_full.c | 86 +++++++++++++-------------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/src/bearssl/src/ssl/ssl_client_full.c b/src/bearssl/src/ssl/ssl_client_full.c index fd35b3c..cc22b65 100644 --- a/src/bearssl/src/ssl/ssl_client_full.c +++ b/src/bearssl/src/ssl/ssl_client_full.c @@ -53,49 +53,49 @@ br_ssl_client_init_full(br_ssl_client_context *cc, static const uint16_t suites[] = { BR_TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256, BR_TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256, - BR_TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, - BR_TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, - BR_TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, - BR_TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, - BR_TLS_ECDHE_ECDSA_WITH_AES_128_CCM, - BR_TLS_ECDHE_ECDSA_WITH_AES_256_CCM, - BR_TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8, - BR_TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8, - BR_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, - BR_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, - BR_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, - BR_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, - BR_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, - BR_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, - BR_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, - BR_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, - BR_TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256, - BR_TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256, - BR_TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384, - BR_TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384, - BR_TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256, - BR_TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256, - BR_TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384, - BR_TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384, - BR_TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA, - BR_TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, - BR_TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA, - BR_TLS_ECDH_RSA_WITH_AES_256_CBC_SHA, - BR_TLS_RSA_WITH_AES_128_GCM_SHA256, - BR_TLS_RSA_WITH_AES_256_GCM_SHA384, - BR_TLS_RSA_WITH_AES_128_CCM, - BR_TLS_RSA_WITH_AES_256_CCM, - BR_TLS_RSA_WITH_AES_128_CCM_8, - BR_TLS_RSA_WITH_AES_256_CCM_8, - BR_TLS_RSA_WITH_AES_128_CBC_SHA256, - BR_TLS_RSA_WITH_AES_256_CBC_SHA256, - BR_TLS_RSA_WITH_AES_128_CBC_SHA, - BR_TLS_RSA_WITH_AES_256_CBC_SHA, - BR_TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA, - BR_TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, - BR_TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA, - BR_TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA, - BR_TLS_RSA_WITH_3DES_EDE_CBC_SHA + // BR_TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, + // BR_TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, + // BR_TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, + // BR_TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, + // BR_TLS_ECDHE_ECDSA_WITH_AES_128_CCM, + // BR_TLS_ECDHE_ECDSA_WITH_AES_256_CCM, + // BR_TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8, + // BR_TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8, + // BR_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, + // BR_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, + // BR_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, + // BR_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, + // BR_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, + // BR_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, + // BR_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, + // BR_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, + // BR_TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256, + // BR_TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256, + // BR_TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384, + // BR_TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384, + // BR_TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256, + // BR_TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256, + // BR_TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384, + // BR_TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384, + // BR_TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA, + // BR_TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, + // BR_TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA, + // BR_TLS_ECDH_RSA_WITH_AES_256_CBC_SHA, + // BR_TLS_RSA_WITH_AES_128_GCM_SHA256, + // BR_TLS_RSA_WITH_AES_256_GCM_SHA384, + // BR_TLS_RSA_WITH_AES_128_CCM, + // BR_TLS_RSA_WITH_AES_256_CCM, + // BR_TLS_RSA_WITH_AES_128_CCM_8, + // BR_TLS_RSA_WITH_AES_256_CCM_8, + // BR_TLS_RSA_WITH_AES_128_CBC_SHA256, + // BR_TLS_RSA_WITH_AES_256_CBC_SHA256, + // BR_TLS_RSA_WITH_AES_128_CBC_SHA, + // BR_TLS_RSA_WITH_AES_256_CBC_SHA, + // BR_TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA, + // BR_TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, + // BR_TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA, + // BR_TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA, + // BR_TLS_RSA_WITH_3DES_EDE_CBC_SHA }; /*