elliptic-curves
elliptic-curves copied to clipboard
Implement `HashToScalar` for P-384
Depends on https://github.com/RustCrypto/traits/pull/1024.
So this has to build on https://github.com/RustCrypto/traits/pull/1024 now. Considering this will be a breaking change, what's the solution here?
I could just copy-paste the OSSWU code here, like we did in k256
. Or should we just delay this PR? Or release an elliptic-curve
0.13-pre?
I'm in no particular hurry btw, delaying is fine with me.
I think it'd probably make sense to just delay the PR until the next round of breaking changes to elliptic-curve
, and in the meantime perhaps we could work out some better solutions for https://github.com/RustCrypto/traits/pull/1024 regarding the relationships between FieldElement
s and their inner UInt
s.
Rebased.
I guess this now depends on elliptic-curve
0.13.0-pre.0 being released.
@daxpedda I'd like to get v0.12 releases of all of these crates out that move to the primeorder
crate's generic implementation and bumps to signature
v2.0 before upgrading elliptic-curve
to v0.13.0-pre.0, since the former two are already significant changes.
That's all pretty much blocked on another release of ed25519-dalek
to keep everything in sync.
Alright, good to know! I'm in no rush :).
Updated to https://github.com/RustCrypto/traits/commit/28ec035531ed028ba010a652980f78007c8f49ff.
EDIT: Reverted again, updating to new ff and group is a hassle we can do later.
@tarcieri this is ready now.