gnark-crypto
gnark-crypto copied to clipboard
use short addition chains in `SqrtRatio`
SSWU hash-to-curve uses SqrtRatio
where there are exponentiations by fixed constants. This should be done via short addition chains generated at the template level (see https://github.com/mmcloughlin/addchain).