replace libsecp256k1 with k256 crate #163
Comments
Here are some benchmarks I performed, comparing https://github.com/tarcieri/rust-secp256k1-ecdsa-bench
I'll have a blog post up about it tomorrow. |
Awesome. No problem with the recommendation. |
Fwiw, I was able to reproduce those performance numbers on my local system. Note that the k256 readme does warn users it has not been independently audited. That said I don't see any indication that libsecp256k1 has been audited either. My sense though is even with that, it is preferable to move to k256 |
Blog post is up with some additional information/background: https://iqlusion.blog/k256-crate-pure-rust-projective-secp256k1-library |
This |
@brianorwhatever please let me know what problems you're experiencing |
Yeah, looks like some incorrect paths when referencing/invoking various types/methods. |
@tarcieri mentions in #162 an alternative to libsecp256k1. I think the selection of the libsecp256k1 was for minimalist builds for e.g. mobile devices. Performance differential should be evaluated as well. Please discuss other criteria to evaluate.
Current: https://crates.io/crates/libsecp256k1
Proposed: https://crates.io/crates/k256
The text was updated successfully, but these errors were encountered: