MCPcopy Create free account

hub / github.com/ZK-Garage/plonk / functions

Functions420 in github.com/ZK-Garage/plonk

Methodalloc
( c: &mut StandardComposer<F, P>, v: Self::ParameterField, )
plonk-hashing/src/poseidon/zprize_constraints.rs:264
Methodalloc
(_c: &mut (), v: Self::ParameterField)
plonk-hashing/src/poseidon/poseidon_ref.rs:251
Methodarity
(&self)
plonk-hashing/src/poseidon/zprize_constraints.rs:54
Methodarity
(&self)
plonk-hashing/src/poseidon/poseidon_ref.rs:167
Functioncheck_constants
Check if `cts` generate valid cosets of the roots of unity subgroup (of `domain_size`) of the field F. https://hackmd.io/CfFCbA0TTJ6X08vHg0-9_g
plonk-core/src/permutation/constants.rs:37
Methodcircuit_bound
Returns the smallest power of two needed for the curcuit
plonk-core/src/proof_system/verifier.rs:70
Methodclear
Clears all data in the [`Prover`] instance. This function is used when the user wants to use the same `Prover` to make a [`Proof`] regarding a differ
plonk-core/src/proof_system/prover.rs:144
Methodcolumn
(&self, column: usize)
plonk-hashing/src/poseidon/matrix.rs:38
Methodcompress
Compress a vector of multisets into a single multiset using a RLC. A random challenge `alpha` needs to be provided. It is derived by hashing the trans
plonk-core/src/lookup/multiset.rs:207
Functioncompute
Computes the Quotient [`DensePolynomial`] given the [`EvaluationDomain`], a [`ProverKey`], and some other info.
plonk-core/src/proof_system/quotient_poly.rs:34
Functioncompute
Compute the linearisation polynomial.
plonk-core/src/proof_system/linearisation_poly.rs:164
Functioncompute_gate_constraint_satisfiability
Computes contribution to the quotient polynomial that ensures the gate constraints are satisfied.
plonk-core/src/proof_system/quotient_poly.rs:210
Functioncompute_gate_constraint_satisfiability
Computes the gate constraint satisfiability portion of the linearisation polynomial.
plonk-core/src/proof_system/linearisation_poly.rs:374
Methodcompute_linearisation
Computes the arithmetic gate contribution to the linearisation polynomial at the given evaluation points.
plonk-core/src/proof_system/widget/arithmetic.rs:82
Methodcompute_linearisation
Compute linearization for lookup gates
plonk-core/src/proof_system/widget/lookup.rs:154
Methodcompute_linearisation_commitment
Computes the linearisation commitments.
plonk-core/src/proof_system/permutation.rs:327
Methodcompute_linearisation_commitment
Computes the commitment to `[r]_1`.
plonk-core/src/proof_system/proof.rs:505
Methodcompute_linearisation_commitment
Computes arithmetic gate contribution to the linearisation polynomial commitment.
plonk-core/src/proof_system/widget/arithmetic.rs:155
Methodcompute_linearisation_commitment
Computes the linearisation commitments.
plonk-core/src/proof_system/widget/lookup.rs:238
Functioncompute_permutation_checks
Computes the permutation contribution to the quotient polynomial over `domain`.
plonk-core/src/proof_system/quotient_poly.rs:303
Methodcompute_quotient_i
Computes the arithmetic gate contribution to the quotient polynomial at the element of the domain at the given `index`.
plonk-core/src/proof_system/widget/arithmetic.rs:63
Functionconstraint_system_benchmark
Generates full benchmark suite for compiling, proving, and verifying.
benches/plonk.rs:87
Methodconstraints
( separation_challenge: F, wit_vals: WitnessValues<F>, custom_vals: Self::CustomVals,
plonk-core/src/proof_system/widget/logic.rs:65
Methodconstraints
( separation_challenge: F, wit_vals: WitnessValues<F>, custom_vals: Self::CustomVals,
plonk-core/src/proof_system/widget/range.rs:47
Methodconstraints
( separation_challenge: F, wit_vals: WitnessValues<F>, custom_vals: Self::CustomVals,
plonk-core/src/proof_system/widget/ecc/fixed_base_scalar_mul.rs:88
Methodconstraints
( separation_challenge: F, wit_vals: WitnessValues<F>, custom_vals: Self::CustomVals,
plonk-core/src/proof_system/widget/ecc/curve_addition.rs:62
Methodcontains_all
(&self, other: &Self)
plonk-core/src/lookup/multiset.rs:182
Methoddefault
()
plonk-core/src/proof_system/verifier.rs:128
Methoddefault
()
plonk-core/src/proof_system/prover.rs:694
Methoddefault
()
plonk-core/src/constraint_system/composer.rs:176
Methoddefault
()
plonk-core/src/constraint_system/arithmetic.rs:31
Methoddenominator_irreducible
( _root: F, w: F, sigma: F, beta: F, gamma: F, )
plonk-core/src/permutation/mod.rs:639
Methodderive_mds_matrices
Given an MDS matrix `m`, compute all its associated matrices.
plonk-hashing/src/poseidon/mds.rs:24
Methodextend_linearisation_commitment
Extends `scalars` and `points` to build the linearisation commitment with the given instantiation of `evaluations` and `separation_challenge`.
plonk-core/src/proof_system/widget/mod.rs:109
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
plonk-core/src/error.rs:110
Methodfmt
This trait requires `fmt` with this exact signature.
plonk-core/src/constraint_system/variable.rs:19
Methodfrom
(v: Vec<Vec<T>>)
plonk-hashing/src/poseidon/matrix.rs:10
Methodfrom
(error: ark_poly_commit::error::Error)
plonk-core/src/error.rs:88
Methodfrom
(slice: &[F])
plonk-core/src/lookup/multiset.rs:221
Functionfrom_embedded_curve_scalar
( embedded_scalar: <P as ModelParameters>::ScalarField, )
plonk-core/src/util.rs:95
Methodfrom_evaluations
(custom_evals: &CustomEvaluations<F>)
plonk-core/src/proof_system/widget/logic.rs:36
Methodfrom_evaluations
(custom_vals: &CustomEvaluations<F>)
plonk-core/src/proof_system/widget/range.rs:29
Methodfrom_evaluations
(custom_evals: &CustomEvaluations<F>)
plonk-core/src/proof_system/widget/ecc/fixed_base_scalar_mul.rs:54
Methodfrom_evaluations
(custom_evals: &CustomEvaluations<F>)
plonk-core/src/proof_system/widget/ecc/curve_addition.rs:35
Methodfrom_iter
(iter: T)
plonk-hashing/src/poseidon/matrix.rs:76
Methodfrom_iter
(iter: I)
plonk-core/src/lookup/multiset.rs:231
Methodfrom_polynomial_commitments
Constructs a [`VerifierKey`] from the widget VerifierKey's that are constructed based on the selector polynomial commitments and the sigma polynomial
plonk-core/src/proof_system/widget/mod.rs:186
Methodfrom_polynomials_and_evals
Constructs a [`ProverKey`] from the widget ProverKey's that are constructed based on the selector polynomials and the sigma polynomials and it's evalu
plonk-core/src/proof_system/widget/mod.rs:350
Methodfrom_val_pos
Constructs [`PublicInputs`] from a positions and a values. Panics if the positions and values have different lenghts or if several values try to be i
plonk-core/src/proof_system/pi.rs:122
Methodfull_round
( c: &mut StandardComposer<F, P>, constants: &PoseidonConstants<Self::ParameterField>,
plonk-hashing/src/poseidon/zprize_constraints.rs:141
Methodfull_round
( c: &mut COM, constants: &PoseidonConstants<Self::ParameterField>, constants_offset:
plonk-hashing/src/poseidon/poseidon_ref.rs:21
Methodgadget
( &mut self, composer: &mut StandardComposer<F, P>, )
benches/plonk.rs:53
Methodgadget
( &mut self, composer: &mut StandardComposer<F, P>, )
examples/simple_circuit.rs:56
Methodgadget
( &mut self, composer: &mut StandardComposer<F, P>, )
examples/example_poly.rs:57
Functiongadget_tester
( gadget: fn(&mut StandardComposer<F, P>), n: usize, )
plonk-core/src/constraint_system/helper.rs:38
Methodgen_proof
Generates a proof using the provided [`ProverKey`] and [`ark_poly_commit::PCUniversalParams`]. Returns a [`crate::proof_system::Proof`] and the [`Publ
plonk-core/src/circuit.rs:264
Methodgenerate
Generate all constants needed for poseidon hash of specified width. Note that WIDTH = ARITY + 1
plonk-hashing/src/poseidon/constants.rs:26
Methodgenerate_mds
(t: usize)
plonk-hashing/src/poseidon/mds.rs:41
Methodgenerator_inv
(&self)
plonk-core/src/util.rs:83
Methodget_pos
Returns the position of non-zero PI values.
plonk-core/src/proof_system/pi.rs:137
Methodget_vals
Returns the non-zero PI values.
plonk-core/src/proof_system/pi.rs:142
Methodidentity
return an identity matrix of size `n*n`
plonk-hashing/src/poseidon/matrix.rs:84
Methodidentity
Returns an identity point.
plonk-core/src/constraint_system/ecc/mod.rs:58
Methodindex
(&self, index: usize)
plonk-hashing/src/poseidon/matrix.rs:63
Methodindex_mut
(&mut self, index: usize)
plonk-hashing/src/poseidon/matrix.rs:69
Methodinsert_multi_and
Function builds a table from mutiple operations. If, for example, we are using lookup tables for both XOR and mul operataions, we can create a table w
plonk-core/src/lookup/lookup_table.rs:145
Functionipa_benchmarks
(c: &mut Criterion)
benches/plonk.rs:78
Methodis_invertible
(&self)
plonk-hashing/src/poseidon/matrix.rs:216
Methodis_sparse
check if `self` is square and `self[1..][1..]` is identity
plonk-hashing/src/poseidon/matrix.rs:107
Methodkey
Returns a reference to the contained [`VerifierKey`].
plonk-core/src/circuit.rs:55
Methodkey_transcript
Keys the [`Transcript`] with additional seed information Wrapper around [`Transcript::append_message`]. [`Transcript`]: merlin::Transcript [`Transcri
plonk-core/src/proof_system/verifier.rs:101
Functionkzg10_benchmarks
(c: &mut Criterion)
benches/plonk.rs:70
Functionlinear_combination
Computes a linear combination of the polynomial evaluations and polynomial commitments provided a challenge. TODO: complete doc & use util::lc for eva
plonk-core/src/commitment.rs:96
Methodlinearisation_term
Computes the linearisation polynomial term for the given gate type at the `selector_polynomial` instantiated with `separation_challenge` and `values`.
plonk-core/src/proof_system/widget/mod.rs:96
Methodlog_size_of_group
(&self)
plonk-core/src/util.rs:49
Methodlookup_ratio
( delta: F, epsilon: F, f: F, t: F, t_next: F, h_1: F,
plonk-core/src/permutation/mod.rs:803
Functionmain
()
examples/simple_circuit.rs:27
Functionmain
()
examples/example_poly.rs:26
Methodmake_double_prime
Returns a matrix associated to `m` in the optimization of MDS matrices.
plonk-hashing/src/poseidon/mds.rs:86
Methodmake_prime
Returns a matrix associated to `m` in the optimization of MDS matrices.
plonk-hashing/src/poseidon/mds.rs:66
Methodmake_v_w
Returns two vectors associated to `m` in the optimization of MDS matrices.
plonk-hashing/src/poseidon/mds.rs:111
Methodmul
( _c: &mut StandardComposer<F, P>, _x: &Self::Field, _y: &Self::Field, )
plonk-hashing/src/poseidon/zprize_constraints.rs:298
Methodmul
(_c: &mut (), x: &Self::Field, y: &Self::Field)
plonk-hashing/src/poseidon/poseidon_ref.rs:271
Methodmul
(self, other: Self)
plonk-core/src/lookup/multiset.rs:262
Methodmul_table
Creates an addition table for addends from the lower bound up to the upper bound 2^n
plonk-core/src/lookup/lookup_table.rs:200
Methodmuli
( _c: &mut StandardComposer<F, P>, _x: &Self::Field, _y: &Self::ParameterField, )
plonk-hashing/src/poseidon/zprize_constraints.rs:306
Methodmuli
( _c: &mut (), x: &Self::Field, y: &Self::ParameterField, )
plonk-hashing/src/poseidon/poseidon_ref.rs:275
Methodmulti_scalar_mul
( commitments: &[KZG10Commitment<E>], scalars: &[E::Fr], )
plonk-core/src/commitment.rs:33
Methodmut_cs
Returns a mutable copy of the underlying composer.
plonk-core/src/proof_system/verifier.rs:75
Methodnew
( c: &mut COM, constants: PoseidonConstants<S::ParameterField>, )
plonk-hashing/src/poseidon/zprize_constraints.rs:39
Methodnew
(initial_sequence: VecDeque<bool>, field_size: u16)
plonk-hashing/src/poseidon/round_constant.rs:90
Methodnew
( c: &mut COM, constants: PoseidonConstants<S::ParameterField>, )
plonk-hashing/src/poseidon/poseidon_ref.rs:152
Methodnew
Derive MDS matrix of size `dim*dim` and relevant things
plonk-hashing/src/poseidon/mds.rs:18
Methodnew
(degree: usize)
benches/plonk.rs:37
Methodnew
Creates a new `VerifierData` from a [`VerifierKey`] and the public input of the circuit that it represents.
plonk-core/src/circuit.rs:50
Methodnew
Creates a Permutation struct with an expected capacity of zero.
plonk-core/src/permutation/mod.rs:34
Methodnew
Creates a new `Verifier` instance.
plonk-core/src/proof_system/verifier.rs:52
Methodnew
Creates a new struct for [`PublicInputs`].
plonk-core/src/proof_system/pi.rs:43
Methodnew
Creates a new `Prover` instance.
plonk-core/src/proof_system/prover.rs:59
Methodnew
Creates an empty vector with a multiset wrapper around it
plonk-core/src/lookup/multiset.rs:40
← previousnext →201–300 of 420, ranked by callers