gkr

package
v0.0.0-...-81eada0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Verify

func Verify(
	c circuit.Circuit,
	proof Proof,
	inputs []poly.MultiLin,
	outputs poly.MultiLin,
	qPrime []fr.Element,
) (err error)

Types

type Proof

type Proof struct {
	SumcheckProofs []sumcheck.Proof
	Claims         [][]fr.Element
	QPrimes        [][][]fr.Element
}

Proof contains all the data for a GKR to be verified

func Prove

func Prove(c circuit.Circuit, a circuit.Assignment, qPrime []fr.Element) (proof Proof)

Prove returns a new prover

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL