Skip to content
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

A PCS batch opening proof needs to Fiat-Shamir the evaluation claims #173

Closed
chancharles92 opened this issue Feb 19, 2025 · 0 comments · Fixed by #174
Closed

A PCS batch opening proof needs to Fiat-Shamir the evaluation claims #173

chancharles92 opened this issue Feb 19, 2025 · 0 comments · Fixed by #174

Comments

@chancharles92
Copy link
Contributor

chancharles92 commented Feb 19, 2025

In Hyperplonk, after running the sumchecks, the prover needs to generate a batch opening proof for the polynomial evaluations. In the current implementation:
https://github.com/EspressoSystems/hyperplonk/blob/main/hyperplonk/src/snark.rs#L610
https://github.com/EspressoSystems/hyperplonk/blob/main/subroutines/src/pcs/multilinear_kzg/batching.rs#L209
the Fiat-Shamir transcript (for generating the random challenge t) doesn't include the evaluation claims (i.e., the evaluation points and the evaluation values). This would be insecure, as an attacker can adaptively choose the evaluation values after knowing the challenge t.

Action items:

  1. Fiat-shamir the evaluation values of the evaluation claims before batching.
  2. Fiat-shamir the random evaluation point as well. (I didn't see an immediate attack without doing this, but I think it's safer to do so.)

cc @alxiong @mrain @zhenfeizhang

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 a pull request may close this issue.

1 participant