You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the halo2 CurveExt trait is not fully implemented except for the pasta curves. The missing function hash_to_curve is unimplemented (see here). The implementation for pasta curves (here) makes use of an algorithm valid only for curves with a*b = 0 (see here). This implementation should therefore work for bn256 and secp256k1, which both have a = 0.
My first attempt to copy-paste the pasta implementation over gets stuck on the alloc dependency. Once that's figured out I'd be happy to open a PR
The text was updated successfully, but these errors were encountered:
Currently the halo2
CurveExt
trait is not fully implemented except for the pasta curves. The missing functionhash_to_curve
is unimplemented (see here). The implementation for pasta curves (here) makes use of an algorithm valid only for curves witha*b = 0
(see here). This implementation should therefore work for bn256 and secp256k1, which both havea = 0
.My first attempt to copy-paste the pasta implementation over gets stuck on the
alloc
dependency. Once that's figured out I'd be happy to open a PRThe text was updated successfully, but these errors were encountered: