701e6cfa1b
Wnaf was originally generic over CurveProjective; in the prior refactor commit, we renamed this to CofactorCurve. But w-NAF only requires scalar multiplication, which is provided by the Group trait, so we relax the bounds on Wnaf to enable it to be used with any group. We move the generic w-NAF helper methods from the Curve trait to a new WnafGroup extension trait, to keep the w-NAF API surface self-contained, and not expose it to users who aren't using it. |
||
---|---|---|
.. | ||
gadgets | ||
groth16 | ||
domain.rs | ||
gadgets.rs | ||
lib.rs | ||
multicore.rs | ||
multiexp.rs |