-
Notifications
You must be signed in to change notification settings - Fork 76
Implement BLS12-381 point negation #1456
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
Conversation
7eb5bff
to
cfe74d4
Compare
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 reviewed the interface that developers will be exposed to and I think it looks good. I left just a couple minor comments for renaming functions to .to_
and implementing From
instead of Into
, and other traits to impl, and then one follow up issue for us to consider #1462.
@stellar/contract-committers Is someone from the core team able to review the internal BLS details?
This reverts commit c83e413.
What
Split out point negation part (0945897) from #1449, and address review comments on this part.
Why
Improves usability of the BLS12-381 features in a Groth16 verifier application (example contract)
Neg
is an common operation, needed for using the proof parameter as pairing input, and is cheap and simple enough to be implemented as an sdk function.Known limitations
[TODO or N/A]