-
Notifications
You must be signed in to change notification settings - Fork 37
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
Changes to match other bls12_381 libraries #56
Conversation
Thanks for the PR, it contains a lot of good changes. Currently You maintain the |
Yes I have in the past but they are locked on version 1.56 and in order to incorporate the new hash_to_curve interfaces in elliptic-curve 0.13, this restriction has to be lifted. Until they do, I can't raise a PR to them. Happy to keep a fork of this repo until then. |
That being said, |
Going to close for now. Perhaps once |
Thanks for the information. I had another look. It's really mostly just additions, so it should be possible to keep compatibility where needed. In regards to the hex encoding/decoding functionality, I'd probably leave those outside of the library, it should be easy enough to keep them outside (I prefer keeping the API surface minimal). So I'd prefer if you could get changes merged upstream first, but if that turns out to not be possible in the nearer term, feel free to re-open this PR and I'll have yet another look. |
Um, just ask. We only raise the MSRV if there is a reason to, but this would be a reason. |
Added methods to match other bls12-381 libraries (like bls12_381_plus) such as consistent serialization, convenience methods for hex and byte ordering and use const values which is more consistent with Rust-crypto.