-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: non-native arithmetic autoreduction for division, inversion and sqrt #870
Conversation
📦 ❌ ❌
|
📦 ❌ ❌
|
@gbotrel - I cannot reproduce locally. It is timeouting, but I do not understand if only for a single test (TestInverse over Goldilocks) or for the whole suite. If only for a single test, then may be some infinite recursion (which doesn't happen locally), but makes sense for the whole suite as we have added emulated Groth16/KZG proofs etc. |
📦 ❌ ❌
|
📦 ❌ ❌
|
Description
Adds automatic modular reductions to division, inversion and square roots in field emulation when the intermediate results do not fit into the scalar field of the curve.
Fixes #867
Type of change
How has this been tested?
How has this been benchmarked?
Not benchmarked.
Checklist:
golangci-lint
does not output errors locally