| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Bulletproofs.InnerProductProof.Prover
Synopsis
- generateProof :: InnerProductBase PA -> PA -> InnerProductWitness Fr -> InnerProductProof Fr PA
Documentation
Arguments
| :: InnerProductBase PA | Generators Gs, Hs, h |
| -> PA | Commitment P = A + xS − zG + (z*y^n + z^2 * 2^n) * hs' of vectors l and r whose inner product is t |
| -> InnerProductWitness Fr | Vectors l and r that hide bit vectors aL and aR, respectively |
| -> InnerProductProof Fr PA |
Generate proof that a witness l, r satisfies the inner product relation on public input (Gs, Hs, h)