Skip to content

Implement cube root of unity for Grumpkin Fq in HonkCurve#463

Open
sashass1315 wants to merge 1 commit into
TaceoLabs:mainfrom
sashass1315:fix/grumpkin-fq-cuberoot-unity
Open

Implement cube root of unity for Grumpkin Fq in HonkCurve#463
sashass1315 wants to merge 1 commit into
TaceoLabs:mainfrom
sashass1315:fix/grumpkin-fq-cuberoot-unity

Conversation

@sashass1315
Copy link
Copy Markdown

Implemented get_cube_root_of_unity() for Grumpkin (co-noir/co-builder/src/honk_curve.rs) using λ = (-1 + sqrt(-3)) / 2 in ark_grumpkin::Fq. Added debug assertions to ensure λ ≠ 1 and λ^3 = 1. This removes the panic from the TODO and unblocks ECCVM endomorphism usage where P::CycleGroup::get_cube_root_of_unity() is required.

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