Skip to content

Conversation

@davidnevadoc
Copy link
Contributor

@davidnevadoc davidnevadoc commented Apr 27, 2023

Using the cubic endomorphism in the emulated curves we can reduce the number of constraints for single multiplications:

Window size Mul GLV mul
2 73 K 59 K
3 70 K 54 K
4 74 K 56 K

This improvement may not carry over to batched multiplications, as the benefits of both come from amortizing doublings.

This PR needs the original endomorphism PR to be merged first: privacy-ethereum/halo2curves#24

davidnevadoc and others added 9 commits March 21, 2023 16:46
* sync ff group 0.13.0

* remove PrimeField bound when there is FromUniformBytes

* Update posidon dependency

---------

Co-authored-by: zhenfei <zhenfei.zhang@hotmail.com>
Adds improved scalar mul algorithm using the curve cubic endomorphism
@kilic kilic self-requested a review April 28, 2023 10:40
@CPerezz CPerezz self-requested a review May 2, 2023 07:52
@davidnevadoc davidnevadoc marked this pull request as ready for review May 31, 2023 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant