-
Notifications
You must be signed in to change notification settings - Fork 116
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
IPA uses srs #205
IPA uses srs #205
Conversation
Regarding your points:
I left a suggestion for this in my review.
The aforementioned suggestion should also handle this. The commitment key is a flexible parameter that can contain/point to whatever sort of SRS you like.
I would prefer that we keep the same structure as in honk/pcs/kzg, unless there's a good reason for departing from what's there. I think your point is that we are somehow not obligated to insulate the user from a call to an unsafe Pippenger method? This to me doesn't seem like a good reason to use different interfaces. |
585ac3e
to
a1074f2
Compare
Thanks Cody for you timely suggestions which helped me a lot. I have tried my best to adhere to your suggestions. Please let me know if you have any more concerns. |
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.
You raised the following issues in our review call:
- You were unsure whether it is secure to use unsafe Pippenger methods here.
- You were concerned that it may be inefficient to use the same Pippenger runtime state for different sets of generators and different MSM lengths.
Will you briefly look into these questions, if you haven't, and make github issues as appropriate?
Thanks. Created the issue #237 for this. |
ipa uses kzg params commit function is reinstated inside ipa commenting out grumpkin srs test as we are not using them now cleanup before review more cleanup using separate ipa params (wip) resolve code duplication and other issues pointed by Cody fixing rebase bug minor cleanup cleanup suggested by Cody
c7d05ee
to
78a1b00
Compare
I have addressed all of Cody's suggestions and we decided to merge this PR in our review call.
ipa uses kzg params commit function is reinstated inside ipa commenting out grumpkin srs test as we are not using them now cleanup before review more cleanup using separate ipa params (wip) resolve code duplication and other issues pointed by Cody fixing rebase bug minor cleanup cleanup suggested by Cody
ipa uses kzg params commit function is reinstated inside ipa commenting out grumpkin srs test as we are not using them now cleanup before review more cleanup using separate ipa params (wip) resolve code duplication and other issues pointed by Cody fixing rebase bug minor cleanup cleanup suggested by Cody
Description
This PR enables the IPA scheme to use kzg commitment key. This helps the scheme to use kzg srs elements as the set of generators. It also enables the scheme to use a single
pippenger_runtime_state
for performing all multi-scalar-multiplications. In particular, it resolves the issues #163 , #164.Checklist:
/markdown/specs
have been updated.@brief
describing the intended functionality.