-
Notifications
You must be signed in to change notification settings - Fork 598
chore: turn on masking in ultra and mega zk + oink clean-up #11693
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
Changes from all commits
45688cd
a0b2950
252f83a
d311330
991a7eb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,7 +43,6 @@ template <IsUltraFlavor Flavor> class OinkProver { | |
| std::string domain_separator; | ||
| ExecutionTraceUsageTracker trace_usage_tracker; | ||
|
|
||
| typename Flavor::WitnessCommitments witness_commitments; | ||
| typename Flavor::CommitmentLabels commitment_labels; | ||
| using RelationSeparator = typename Flavor::RelationSeparator; | ||
|
|
||
|
|
@@ -64,6 +63,10 @@ template <IsUltraFlavor Flavor> class OinkProver { | |
| void execute_log_derivative_inverse_round(); | ||
| void execute_grand_product_computation_round(); | ||
| RelationSeparator generate_alphas_round(); | ||
| void mask_witness_polynomial(Polynomial<FF>& polynomial); | ||
| void commit_to_witness_polynomial(Polynomial<FF>& polynomial, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Perhaps this is a bit of a nitpick but I don't love a method with a simple name that does more than it says, i.e. this doesn't just commit, it potentially adds blinding and adds the commit to the proof. I don't feel strongly though. Either way, could you move the definitions of any new methods to the .cpp file?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, will move to cpp. I see your point, the justification I had for myself is that |
||
| const std::string& label, | ||
| const CommitmentKey::CommitType type = CommitmentKey::CommitType::Default); | ||
| }; | ||
|
|
||
| using MegaOinkProver = OinkProver<MegaFlavor>; | ||
|
|
||
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.
Can you please turn on the use of
commit_sparsehere? Its not being used in master either but it definitely should be usedThere 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.
done, I'm seeing -70ms in ClientIVCBench