Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InterpolateOnRange ¶
func InterpolateOnRange(api frontend.API, at frontend.Variable, values ...frontend.Variable) frontend.Variable
InterpolateOnRange fits a polynomial f of degree len(values)-1 such that f(i) = values[i] whenever defined. Returns f(at) Algorithm taken from https://people.cs.georgetown.edu/jthaler/ProofsArgsAndZK.pdf section 2.4
func Verify ¶
func Verify(api frontend.API, claims LazyClaims, proof Proof, transcriptSettings fiatshamir.Settings) error
Types ¶
type LazyClaims ¶
type LazyClaims interface { ClaimsNum() int // ClaimsNum = m VarsNum() int // VarsNum = n CombinedSum(api frontend.API, a frontend.Variable) frontend.Variable // CombinedSum returns c = ∑_{1≤j≤m} aʲ⁻¹cⱼ Degree(i int) int //Degree of the total claim in the i'th variable VerifyFinalEval(api frontend.API, r []frontend.Variable, combinationCoeff, purportedValue frontend.Variable, proof interface{}) error }
LazyClaims is the Claims data structure on the verifier side. It is "lazy" in that it has to compute fewer things.
type Proof ¶
type Proof struct { PartialSumPolys []polynomial.Polynomial FinalEvalProof interface{} }
Proof of a multi-sumcheck statement.
Click to show internal directories.
Click to hide internal directories.