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

try to add secp256k1_support #38

Closed

Conversation

evgeniy-scherbina
Copy link

Straightforward implementation of #37.

@mcginty
Copy link
Owner

mcginty commented Nov 2, 2018

Great! Thanks for taking this on. Code looks pretty good at first glance, but before I dig further in I think this should be feature-gated (just like what we do with new crypto providers) since secp256k1 is not part of the official Noise spec.

@@ -44,6 +44,7 @@ hacl-star = { version = "=0.0.11", optional = true }
rand = { version = "^0.5", optional = true }
ring = { version = "^0.13.0", optional = true }
x25519-dalek = { version = "^0.3", optional = true, default-features = false, features = ["std", "u64_backend"] }
secp256k1 = "0.11.3"
Copy link
Contributor

Choose a reason for hiding this comment

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

You might consider the pure Rust k256 crate from as an alternative here:

https://github.com/RustCrypto/elliptic-curves/tree/master/k256

@rust-bitcoin-tools rust-bitcoin-tools closed this by deleting the head repository Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants