Skip to content

These changes implmement range proofs based on Commpressed Sigma prot… - #1408

Closed
nitsatiisc wants to merge 3 commits into
LFDT-Panurus:mainfrom
nitsatiisc:csp-based-rangeproofs
Closed

These changes implmement range proofs based on Commpressed Sigma prot…#1408
nitsatiisc wants to merge 3 commits into
LFDT-Panurus:mainfrom
nitsatiisc:csp-based-rangeproofs

Conversation

@nitsatiisc

Copy link
Copy Markdown
Contributor

…ocols:

  1. transcript.go - contains a clean abstraction of Fiat-Shamir, where the function Absorb() adds the transcript message and Squeeze() produces a challenge based on absorbed messages so far.
  2. csp.go - implements the logarithmic sized non-ZK argument for showing evaluation of a linear function on pedersen committed vector.
  3. csp_rp.go - implements range proof wrapper to reduce range proofs to a csp instance.
  4. lagrange-native.go - Uses underlying gnark-crypto fr.Element type for O(n^2) lagrange coefficient computation. Avoids mathlib cost of converting back and forth from big.Int

Achieves around 2.2x faster verification, with no significant degradation to prover time.

image

nitsatiisc and others added 3 commits March 25, 2026 15:17
…ocols:

1. transcript.go - contains a clean abstraction of Fiat-Shamir, where the function Absorb() adds the transcript message and Squeeze() produces a challenge based on absorbed messages so far.
2. csp.go - implements the logarithmic sized non-ZK argument for showing evaluation of a linear function on pedersen committed vector.
3. csp_rp.go - implements range proof wrapper to reduce range proofs to a csp instance.
4. lagrange-native.go - Uses underlying gnark-crypto fr.Element type for O(n^2) lagrange coefficient computation. Avoids mathlib cost of converting back and forth from big.Int

Signed-off-by: Nitin Singh <nitisin1@in.ibm.com>
Signed-off-by: Nitin Singh <nitisin1@in.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
@adecaro

adecaro commented Mar 28, 2026

Copy link
Copy Markdown
Contributor

It will be absorbed by another PR

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