Skip to content

fix grinding (was done after query, instead of before)#190

Merged
WizardOfMenlo merged 1 commit into
worldfnd:mainfrom
TomWambsgans:fix-grinding
Jul 24, 2025
Merged

fix grinding (was done after query, instead of before)#190
WizardOfMenlo merged 1 commit into
worldfnd:mainfrom
TomWambsgans:fix-grinding

Conversation

@TomWambsgans

Copy link
Copy Markdown
Contributor

As described in section 6.3 of the EthStark paper, grinding should be done "before" queries. Because a typical attack against FRI/WHIR is to get "lucky" indexes, after having sent a polynomial which does not correspond to the folding of the previously committed (via merkle root of evaluations) polynomial. So we want the grinding work to appear during each iteration of the search for these "lucky" indexes, not after, once they are found.

@WizardOfMenlo
WizardOfMenlo merged commit 9dc42d4 into worldfnd:main Jul 24, 2025
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants