Versions in this module Expand all Collapse all v0 v0.12.1 Oct 5, 2023 v0.12.0 Sep 27, 2023 GO-2023-2101 GO-2023-2101: Incorrect exponentiation results in github.com/consensys/gnark-crypto v0.11.2 Aug 18, 2023 GO-2023-2096GO-2023-2101 GO-2023-2096: Signature malleability in github.com/consensys/gnark-crypto GO-2023-2101: Incorrect exponentiation results in github.com/consensys/gnark-crypto v0.11.1 Jul 11, 2023 GO-2023-2096GO-2023-2101 GO-2023-2096: Signature malleability in github.com/consensys/gnark-crypto GO-2023-2101: Incorrect exponentiation results in github.com/consensys/gnark-crypto v0.11.0 May 2, 2023 GO-2023-2096GO-2023-2101 GO-2023-2096: Signature malleability in github.com/consensys/gnark-crypto GO-2023-2101: Incorrect exponentiation results in github.com/consensys/gnark-crypto v0.10.1 Jul 11, 2023 GO-2023-2096GO-2023-2101 GO-2023-2096: Signature malleability in github.com/consensys/gnark-crypto GO-2023-2101: Incorrect exponentiation results in github.com/consensys/gnark-crypto v0.10.0 Mar 29, 2023 GO-2023-2096GO-2023-2101 GO-2023-2096: Signature malleability in github.com/consensys/gnark-crypto GO-2023-2101: Incorrect exponentiation results in github.com/consensys/gnark-crypto Changes in this version + var ErrCommitmentNotDone = errors.New("the proof cannot be built before the computation of the digest") + var ErrMaxNbColumns = errors.New("the state is full") + var ErrNotSquare = errors.New("the size of the polynomial must be a square") + var ErrProofFailedEncoding = errors.New("inconsistency with the code word") + var ErrProofFailedHash = errors.New("hash of one of the columns is wrong") + var ErrProofFailedOob = errors.New("the entry is out of bound") + var ErrWrongSize = errors.New("polynomial is too large") + func Verify(proof Proof, digest Digest, l []fr.Element, h hash.Hash) error + type Digest [][]byte + type Proof struct + Columns [][]fr.Element + Domain *fft.Domain + EntryList []int + Generator fr.Element + LinearCombination []fr.Element + func BuildProof(params *TcParams, linComb []fr.Element, entryList []int, ...) Proof + type TcParams struct + Domains [2]*fft.Domain + MakeHash func() hash.Hash + NbColumns int + NbRows int + Rho int + func NewTCParams(codeRate, NbColumns, NbRows int, makeHash func() hash.Hash) (*TcParams, error) + type TensorCommitment struct + EncodedState [][]fr.Element + NbAppendsSoFar int + NbColumnsHashed int + State [][]fr.Element + func NewTensorCommitment(params *TcParams) *TensorCommitment + func (tc *TensorCommitment) Append(ps ...[]fr.Element) ([][]byte, error) + func (tc *TensorCommitment) BuildProofAtOnceForTest(l []fr.Element, entryList []int) (Proof, error) + func (tc *TensorCommitment) Commit() (Digest, error) + func (tc *TensorCommitment) ProverComputeLinComb(l []fr.Element) ([]fr.Element, error) + func (tc *TensorCommitment) ProverOpenColumns(entryList []int) ([][]fr.Element, error)