Skip to content

add more brainpool curve NID constants#2567

Merged
botovq merged 3 commits intorust-openssl:masterfrom
butteronarchbtw:brainpool-nid-constants
Feb 3, 2026
Merged

add more brainpool curve NID constants#2567
botovq merged 3 commits intorust-openssl:masterfrom
butteronarchbtw:brainpool-nid-constants

Conversation

@butteronarchbtw
Copy link
Copy Markdown
Contributor

This PR adds more NID constants for additional brainpool curves defined in RFC5639, which are available in openssl, but not rust-openssl.

These curves included are:

  • brainpoolP256t1
  • brainpoolP320t1
  • brainpoolP384t1
  • brainpoolP512t1

@butteronarchbtw butteronarchbtw force-pushed the brainpool-nid-constants branch from 7fe9d26 to c7d57cb Compare January 27, 2026 12:00
Copy link
Copy Markdown
Contributor

@botovq botovq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally ok with this with my review comments addressed.

We'll have to fix the CI after the latest Rust update before we can land this, though.

Comment thread openssl-sys/src/obj_mac.rs
Comment thread openssl/src/nid.rs Outdated
@butteronarchbtw
Copy link
Copy Markdown
Contributor Author

Do you require help with fixing the CI? I would not mind fixing the clippy issues myself at least.

@alex
Copy link
Copy Markdown
Collaborator

alex commented Jan 27, 2026

I think we need a ctest release: rust-lang/libc#4831

@alex
Copy link
Copy Markdown
Collaborator

alex commented Feb 2, 2026

CI should be fixed now.

@botovq
Copy link
Copy Markdown
Contributor

botovq commented Feb 2, 2026

Please rebase on top of master. I'll approve and merge if the CI is green.

@butteronarchbtw butteronarchbtw force-pushed the brainpool-nid-constants branch from 22619fa to 61906a9 Compare February 2, 2026 20:05
@butteronarchbtw
Copy link
Copy Markdown
Contributor Author

my bad! sorry

Copy link
Copy Markdown
Contributor

@botovq botovq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the CI will take a while. I think this is good to merge and will do it after sleep if nobody beats me to it.

@botovq botovq merged commit 87bf0e2 into rust-openssl:master Feb 3, 2026
82 of 162 checks passed
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.

3 participants