Partial revert and reimplement "Enable brainpool curves for TLS1.3"
authorMatt Caswell <matt@openssl.org>
Fri, 30 Sep 2022 09:50:53 +0000 (10:50 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 7 Oct 2022 09:01:48 +0000 (10:01 +0100)
commit16f0e91cf82e13c327f0b0402459dfbf78ef787c
tree6bf3df6bc0bfec81e505fbab59f8e612588ac6f6
parentc007f466aaebd8ef07111c8560e039d8bcb5fa7b
Partial revert and reimplement "Enable brainpool curves for TLS1.3"

This partially reverts commit 0a10825a0 in order to reimplement it in a
simpler way in the next commit. The reverted aspects are all related to
the TLSv1.3 brainpool curves in the supported_groups extension. Rather
than special casing the handling of these curves we simply add new entries
to the groups table to represent them. They can then be handled without
any additional special casing. This makes the code simpler to maintain.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/19315)
ssl/s3_lib.c
ssl/ssl_local.h
ssl/statem/extensions.c
ssl/statem/extensions_clnt.c
ssl/statem/extensions_srvr.c
ssl/statem/statem_lib.c
ssl/t1_lib.c