Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for more elliptic curves #163

Closed
wants to merge 16 commits into from

Conversation

sosthene-nitrokey
Copy link
Contributor

@sosthene-nitrokey sosthene-nitrokey commented Apr 19, 2024

  • p348 (using RustCrypto)
  • p521 (using Ruscrypto)
  • brainpoolP256r1 (Mechanism definition only, implementation in separate backend)
  • brainpoolP384r1 (Mechanism definition only, implementation in separate backend)
  • brainpoolP512r1 (Mechanism definition only, implementation in separate backend)

Cargo.toml Outdated
@@ -110,6 +113,8 @@ hmac-sha1 = []
hmac-sha256 = []
hmac-sha512 = []
p256 = []
p384 = ["dep:p384"]
p521 = ["dep:p521", "ecdsa"]
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
p521 = ["dep:p521", "ecdsa"]
p521 = ["dep:p521", "dep:ecdsa"]

@sosthene-nitrokey sosthene-nitrokey force-pushed the more-curves branch 3 times, most recently from cb10d6e to c7a4722 Compare April 22, 2024 08:07
@sosthene-nitrokey sosthene-nitrokey marked this pull request as ready for review July 17, 2024 14:21
@sosthene-nitrokey
Copy link
Contributor Author

This will need to get rebased on top of trussed-main to remove the nitrokey main commits.

Copy link
Member

@robin-nitrokey robin-nitrokey left a comment

Choose a reason for hiding this comment

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

Can you please rebase the branch? It’s hard to review together with the other changes from nitrokey/main.

Comment on lines +60 to +62
p384 = { version = "0.13.0", optional = true, default-features = false, features = ["sha384", "ecdh", "ecdsa"] }
p521 = { version = "0.13.3", optional = true, default-features = false, features = ["sha512", "ecdh", "ecdsa"] }
ecdsa = { version = "0.16.9", optional = true, default-features = false }
Copy link
Member

Choose a reason for hiding this comment

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

nit: move to the RustCrypto section

@sosthene-nitrokey
Copy link
Contributor Author

sosthene-nitrokey commented Jul 26, 2024

This PR is actually the rebased version. This PR should be against the nitrokey fork

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