Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZK-Garage/plonk
/ functions
Functions
420 in github.com/ZK-Garage/plonk
⨍
Functions
420
◇
Types & classes
64
Method
alloc
( c: &mut StandardComposer<F, P>, v: Self::ParameterField, )
plonk-hashing/src/poseidon/zprize_constraints.rs:264
Method
alloc
(_c: &mut (), v: Self::ParameterField)
plonk-hashing/src/poseidon/poseidon_ref.rs:251
Method
arity
(&self)
plonk-hashing/src/poseidon/zprize_constraints.rs:54
Method
arity
(&self)
plonk-hashing/src/poseidon/poseidon_ref.rs:167
Function
check_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
Method
circuit_bound
Returns the smallest power of two needed for the curcuit
plonk-core/src/proof_system/verifier.rs:70
Method
clear
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
Method
column
(&self, column: usize)
plonk-hashing/src/poseidon/matrix.rs:38
Method
compress
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
Function
compute
Computes the Quotient [`DensePolynomial`] given the [`EvaluationDomain`], a [`ProverKey`], and some other info.
plonk-core/src/proof_system/quotient_poly.rs:34
Function
compute
Compute the linearisation polynomial.
plonk-core/src/proof_system/linearisation_poly.rs:164
Function
compute_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
Function
compute_gate_constraint_satisfiability
Computes the gate constraint satisfiability portion of the linearisation polynomial.
plonk-core/src/proof_system/linearisation_poly.rs:374
Method
compute_linearisation
Computes the arithmetic gate contribution to the linearisation polynomial at the given evaluation points.
plonk-core/src/proof_system/widget/arithmetic.rs:82
Method
compute_linearisation
Compute linearization for lookup gates
plonk-core/src/proof_system/widget/lookup.rs:154
Method
compute_linearisation_commitment
Computes the linearisation commitments.
plonk-core/src/proof_system/permutation.rs:327
Method
compute_linearisation_commitment
Computes the commitment to `[r]_1`.
plonk-core/src/proof_system/proof.rs:505
Method
compute_linearisation_commitment
Computes arithmetic gate contribution to the linearisation polynomial commitment.
plonk-core/src/proof_system/widget/arithmetic.rs:155
Method
compute_linearisation_commitment
Computes the linearisation commitments.
plonk-core/src/proof_system/widget/lookup.rs:238
Function
compute_permutation_checks
Computes the permutation contribution to the quotient polynomial over `domain`.
plonk-core/src/proof_system/quotient_poly.rs:303
Method
compute_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
Function
constraint_system_benchmark
Generates full benchmark suite for compiling, proving, and verifying.
benches/plonk.rs:87
Method
constraints
( separation_challenge: F, wit_vals: WitnessValues<F>, custom_vals: Self::CustomVals,
plonk-core/src/proof_system/widget/logic.rs:65
Method
constraints
( separation_challenge: F, wit_vals: WitnessValues<F>, custom_vals: Self::CustomVals,
plonk-core/src/proof_system/widget/range.rs:47
Method
constraints
( separation_challenge: F, wit_vals: WitnessValues<F>, custom_vals: Self::CustomVals,
plonk-core/src/proof_system/widget/ecc/fixed_base_scalar_mul.rs:88
Method
constraints
( separation_challenge: F, wit_vals: WitnessValues<F>, custom_vals: Self::CustomVals,
plonk-core/src/proof_system/widget/ecc/curve_addition.rs:62
Method
contains_all
(&self, other: &Self)
plonk-core/src/lookup/multiset.rs:182
Method
default
()
plonk-core/src/proof_system/verifier.rs:128
Method
default
()
plonk-core/src/proof_system/prover.rs:694
Method
default
()
plonk-core/src/constraint_system/composer.rs:176
Method
default
()
plonk-core/src/constraint_system/arithmetic.rs:31
Method
denominator_irreducible
( _root: F, w: F, sigma: F, beta: F, gamma: F, )
plonk-core/src/permutation/mod.rs:639
Method
derive_mds_matrices
Given an MDS matrix `m`, compute all its associated matrices.
plonk-hashing/src/poseidon/mds.rs:24
Method
extend_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
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
plonk-core/src/error.rs:110
Method
fmt
This trait requires `fmt` with this exact signature.
plonk-core/src/constraint_system/variable.rs:19
Method
from
(v: Vec<Vec<T>>)
plonk-hashing/src/poseidon/matrix.rs:10
Method
from
(error: ark_poly_commit::error::Error)
plonk-core/src/error.rs:88
Method
from
(slice: &[F])
plonk-core/src/lookup/multiset.rs:221
Function
from_embedded_curve_scalar
( embedded_scalar: <P as ModelParameters>::ScalarField, )
plonk-core/src/util.rs:95
Method
from_evaluations
(custom_evals: &CustomEvaluations<F>)
plonk-core/src/proof_system/widget/logic.rs:36
Method
from_evaluations
(custom_vals: &CustomEvaluations<F>)
plonk-core/src/proof_system/widget/range.rs:29
Method
from_evaluations
(custom_evals: &CustomEvaluations<F>)
plonk-core/src/proof_system/widget/ecc/fixed_base_scalar_mul.rs:54
Method
from_evaluations
(custom_evals: &CustomEvaluations<F>)
plonk-core/src/proof_system/widget/ecc/curve_addition.rs:35
Method
from_iter
(iter: T)
plonk-hashing/src/poseidon/matrix.rs:76
Method
from_iter
(iter: I)
plonk-core/src/lookup/multiset.rs:231
Method
from_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
Method
from_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
Method
from_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
Method
full_round
( c: &mut StandardComposer<F, P>, constants: &PoseidonConstants<Self::ParameterField>,
plonk-hashing/src/poseidon/zprize_constraints.rs:141
Method
full_round
( c: &mut COM, constants: &PoseidonConstants<Self::ParameterField>, constants_offset:
plonk-hashing/src/poseidon/poseidon_ref.rs:21
Method
gadget
( &mut self, composer: &mut StandardComposer<F, P>, )
benches/plonk.rs:53
Method
gadget
( &mut self, composer: &mut StandardComposer<F, P>, )
examples/simple_circuit.rs:56
Method
gadget
( &mut self, composer: &mut StandardComposer<F, P>, )
examples/example_poly.rs:57
Function
gadget_tester
( gadget: fn(&mut StandardComposer<F, P>), n: usize, )
plonk-core/src/constraint_system/helper.rs:38
Method
gen_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
Method
generate
Generate all constants needed for poseidon hash of specified width. Note that WIDTH = ARITY + 1
plonk-hashing/src/poseidon/constants.rs:26
Method
generate_mds
(t: usize)
plonk-hashing/src/poseidon/mds.rs:41
Method
generator_inv
(&self)
plonk-core/src/util.rs:83
Method
get_pos
Returns the position of non-zero PI values.
plonk-core/src/proof_system/pi.rs:137
Method
get_vals
Returns the non-zero PI values.
plonk-core/src/proof_system/pi.rs:142
Method
identity
return an identity matrix of size `n*n`
plonk-hashing/src/poseidon/matrix.rs:84
Method
identity
Returns an identity point.
plonk-core/src/constraint_system/ecc/mod.rs:58
Method
index
(&self, index: usize)
plonk-hashing/src/poseidon/matrix.rs:63
Method
index_mut
(&mut self, index: usize)
plonk-hashing/src/poseidon/matrix.rs:69
Method
insert_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
Function
ipa_benchmarks
(c: &mut Criterion)
benches/plonk.rs:78
Method
is_invertible
(&self)
plonk-hashing/src/poseidon/matrix.rs:216
Method
is_sparse
check if `self` is square and `self[1..][1..]` is identity
plonk-hashing/src/poseidon/matrix.rs:107
Method
key
Returns a reference to the contained [`VerifierKey`].
plonk-core/src/circuit.rs:55
Method
key_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
Function
kzg10_benchmarks
(c: &mut Criterion)
benches/plonk.rs:70
Function
linear_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
Method
linearisation_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
Method
log_size_of_group
(&self)
plonk-core/src/util.rs:49
Method
lookup_ratio
( delta: F, epsilon: F, f: F, t: F, t_next: F, h_1: F,
plonk-core/src/permutation/mod.rs:803
Function
main
()
examples/simple_circuit.rs:27
Function
main
()
examples/example_poly.rs:26
Method
make_double_prime
Returns a matrix associated to `m` in the optimization of MDS matrices.
plonk-hashing/src/poseidon/mds.rs:86
Method
make_prime
Returns a matrix associated to `m` in the optimization of MDS matrices.
plonk-hashing/src/poseidon/mds.rs:66
Method
make_v_w
Returns two vectors associated to `m` in the optimization of MDS matrices.
plonk-hashing/src/poseidon/mds.rs:111
Method
mul
( _c: &mut StandardComposer<F, P>, _x: &Self::Field, _y: &Self::Field, )
plonk-hashing/src/poseidon/zprize_constraints.rs:298
Method
mul
(_c: &mut (), x: &Self::Field, y: &Self::Field)
plonk-hashing/src/poseidon/poseidon_ref.rs:271
Method
mul
(self, other: Self)
plonk-core/src/lookup/multiset.rs:262
Method
mul_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
Method
muli
( _c: &mut StandardComposer<F, P>, _x: &Self::Field, _y: &Self::ParameterField, )
plonk-hashing/src/poseidon/zprize_constraints.rs:306
Method
muli
( _c: &mut (), x: &Self::Field, y: &Self::ParameterField, )
plonk-hashing/src/poseidon/poseidon_ref.rs:275
Method
multi_scalar_mul
( commitments: &[KZG10Commitment<E>], scalars: &[E::Fr], )
plonk-core/src/commitment.rs:33
Method
mut_cs
Returns a mutable copy of the underlying composer.
plonk-core/src/proof_system/verifier.rs:75
Method
new
( c: &mut COM, constants: PoseidonConstants<S::ParameterField>, )
plonk-hashing/src/poseidon/zprize_constraints.rs:39
Method
new
(initial_sequence: VecDeque<bool>, field_size: u16)
plonk-hashing/src/poseidon/round_constant.rs:90
Method
new
( c: &mut COM, constants: PoseidonConstants<S::ParameterField>, )
plonk-hashing/src/poseidon/poseidon_ref.rs:152
Method
new
Derive MDS matrix of size `dim*dim` and relevant things
plonk-hashing/src/poseidon/mds.rs:18
Method
new
(degree: usize)
benches/plonk.rs:37
Method
new
Creates a new `VerifierData` from a [`VerifierKey`] and the public input of the circuit that it represents.
plonk-core/src/circuit.rs:50
Method
new
Creates a Permutation struct with an expected capacity of zero.
plonk-core/src/permutation/mod.rs:34
Method
new
Creates a new `Verifier` instance.
plonk-core/src/proof_system/verifier.rs:52
Method
new
Creates a new struct for [`PublicInputs`].
plonk-core/src/proof_system/pi.rs:43
Method
new
Creates a new `Prover` instance.
plonk-core/src/proof_system/prover.rs:59
Method
new
Creates an empty vector with a multiset wrapper around it
plonk-core/src/lookup/multiset.rs:40
← previous
next →
201–300 of 420, ranked by callers