-
Notifications
You must be signed in to change notification settings - Fork 26
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
Conversation
sosthene-nitrokey
commented
Apr 19, 2024
•
edited
Loading
edited
- 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)
Remove default syscalls from default features
Older version of Rust failed to format `service.rs` file.
Run cargo fmt
Merge upstream changes
a190f6c
to
029e7c8
Compare
Cargo.toml
Outdated
@@ -110,6 +113,8 @@ hmac-sha1 = [] | |||
hmac-sha256 = [] | |||
hmac-sha512 = [] | |||
p256 = [] | |||
p384 = ["dep:p384"] | |||
p521 = ["dep:p521", "ecdsa"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
p521 = ["dep:p521", "ecdsa"] | |
p521 = ["dep:p521", "dep:ecdsa"] |
cb10d6e
to
c7a4722
Compare
c7a4722
to
723029a
Compare
This will need to get rebased on top of trussed-main to remove the nitrokey main commits. |
There was a problem hiding this 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.
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 } |
There was a problem hiding this comment.
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
This PR is actually the rebased version. This PR should be against the nitrokey fork |