zkcrypto / group

Elliptic curve group traits and utilities.
Other
91 stars 32 forks source link

Allow wnaf to represent dense values #46

Open kilic opened 1 year ago

kilic commented 1 year ago

This PR fixes wnaf conversion for dense values which requires len * 8 + 1 numbers rather than len * 8. Also max window value is reduced to 63. It was before 64 and then width = 1 << window was overflowing.