This fixes a number of unrelated issues, grouped for convenience.
It merges the KoblitzCurve and Curve classes in crypto.secp256k1.curve. While Curve is a subclass of KoblitzCurve, KoblitzCurve uses methods in Curve, so they're not really independent. And KoblitzCurve is never used directly anyway.
The other issues are explained by comments in the diff.
This fixes a number of unrelated issues, grouped for convenience.
It merges the
KoblitzCurve
andCurve
classes incrypto.secp256k1.curve
. WhileCurve
is a subclass ofKoblitzCurve
,KoblitzCurve
uses methods inCurve
, so they're not really independent. AndKoblitzCurve
is never used directly anyway.The other issues are explained by comments in the diff.