Skip to content

Conversation

@manishbista28
Copy link
Contributor

@manishbista28 manishbista28 commented Dec 15, 2025

Fixes #5

Cheap subgroup check approach mentioned in:
https://eprint.iacr.org/2022/348.pdf Section 3.1.2 Remark 2

ark_bn254::Config::ATE_LOOP_COUNT is 6z + 2 so the costly part of the computation is done inside the Miller Loop itself while computing G2 accumulator. Outside of the loop, we only have to do an additional Frobenius corresponding to c_3 coefficient of (6z+ 2,1,−1,1).

@manishbista28 manishbista28 self-assigned this Dec 15, 2025
@manishbista28 manishbista28 marked this pull request as ready for review December 16, 2025 09:39
@manishbista28 manishbista28 changed the title feat: add G2 subgroup check audit: add G2 subgroup check Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

audit: add G2 subgroup check

2 participants