Skip to content

Add support for brainpool curves with TLS 1.3#2353

Merged
drwetter merged 1 commit intotestssl:3.1devfrom
dcooper16:brainpooltls13
Mar 31, 2023
Merged

Add support for brainpool curves with TLS 1.3#2353
drwetter merged 1 commit intotestssl:3.1devfrom
dcooper16:brainpooltls13

Conversation

@dcooper16
Copy link
Copy Markdown
Collaborator

This PR adds support for the curves brainpoolP256r1tls13, brainpoolP384r1tls13, and brainpoolP512r1tls13.

Based on #2346, I included the "tls13" in the names that used, even though brainpoolP256r1 and brainpoolP256r1tls13 are both the same curve, just for use with different TLS versions. This is the reason for lines 10743 - 10745. OpenSSL reports the curve as just brainpoolP...r1, even if it is the brainpoolP...r1tls13 code point, so I need to look at which version of TLS was negotiated to determine which code point was used.

I was not able to test utils/update_client_sim_data.pl, but the change that I made to it seems straightforward.

This commit adds support for the curves brainpoolP256r1tls13, brainpoolP384r1tls13, and brainpoolP512r1tls13.
@drwetter drwetter merged commit 13b4206 into testssl:3.1dev Mar 31, 2023
@drwetter
Copy link
Copy Markdown
Collaborator

Thanks a lot, David!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants