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: edge cases in the Karabina cyclotomic square decompression #868
Conversation
📦 ❌
❌
❌
📦 ❌
❌ ❌
🚧
🚧
🚧
📦 ❌
❌ ❌
❌ ❌
❌ ❌
📦
❌ ❌
📦
❌ ❌
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if g4=0
is relevant for two-chains. But otherwise looks good.
It is covered implicitly to save some constraints. When
|
Makes sense! |
Description
Fixes #858
TODO:
Type of change
How has this been tested?
The multi-pairing computation
e(P,Q)*e(-P,Q)
returns 1. In this case theg3 == g2 == 0
edge case is triggered. The functionPairingCheck()
and corresponding test were added to emulated bw6-761 and 2-chains.How has this been benchmarked?
The edge case fix introduces some constraints counting regression.
Checklist:
golangci-lint
does not output errors locally