Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alex-ozdemir/collaborative-zksnark
/ functions
Functions
2,749 in github.com/alex-ozdemir/collaborative-zksnark
⨍
Functions
2,749
◇
Types & classes
579
↓ 558 callers
Method
clone
(&self)
marlin/benches/bench.rs:33
↓ 487 callers
Function
rand
Yields a t-share of a random r. Stubbed b/c it can be pre-processed. Protocol 3.
mpc-algebra/src/share/gsz20/mod.rs:383
↓ 430 callers
Method
iter
Iterate over the polynomials output by the prover in the first round.
marlin/src/ahp/prover.rs:174
↓ 430 callers
Method
push
Add a term to the linear combination.
poly-commit/src/data_structures.rs:341
↓ 330 callers
Function
test_rng
Should be used only for tests, not for any real world usage.
algebra/ff/src/rand.rs:6
↓ 252 callers
Method
into
(self)
algebra/poly/src/polynomial/univariate/mod.rs:72
↓ 235 callers
Method
gen
(&mut self)
mpc-plonk/src/util.rs:105
↓ 203 callers
Method
into_iter
(self)
crypto-primitives/src/snark/constraints.rs:140
↓ 117 callers
Method
square
(&self)
algebra/ff/src/fields/models/cubic_extension.rs:199
↓ 112 callers
Method
clone
(&self)
crypto-primitives/src/snark/constraints.rs:414
↓ 111 callers
Method
into_affine
Converts self into the affine representation.
algebra/ec/src/lib.rs:199
↓ 106 callers
Method
iter
Returns an iterator that iterates over the evaluations over {0,1}^`num_vars`
algebra/poly/src/evaluations/multivariate/multilinear/dense.rs:72
↓ 88 callers
Method
into_repr
(&self)
mpc-algebra/src/wire/field.rs:526
↓ 87 callers
Method
scalar_mul
(&self, other: S)
algebra/ec/src/lib.rs:312
↓ 78 callers
Method
borrow
(&self)
snark/relations/src/r1cs/constraint_system.rs:775
↓ 76 callers
Method
append
(&mut self, other: &str)
algebra/ff-asm/src/context.rs:31
↓ 72 callers
Method
iter_mut
Returns a mutable iterator that iterates over the evaluations over {0,1}^`num_vars`
algebra/poly/src/evaluations/multivariate/multilinear/dense.rs:77
↓ 71 callers
Method
mul_assign
(&mut self, other: S)
mpc-algebra/src/group.rs:140
↓ 71 callers
Method
square
(&self)
r1cs-std/src/fields/fp/mod.rs:238
↓ 68 callers
Method
add_assign
(&mut self, (coeff, other): (F, &'a LinearCombination<F>))
poly-commit/src/data_structures.rs:348
↓ 68 callers
Method
double
(&self)
r1cs-std/src/fields/fp/mod.rs:206
↓ 65 callers
Method
pow
(&self, exp: S)
algebra/ff/src/fields/mod.rs:185
↓ 58 callers
Method
enforce_constraint
( &mut self, a: LinearCombination<F>, b: LinearCombination<F>, c: LinearCombin
snark/relations/src/r1cs/constraint_system.rs:254
↓ 55 callers
Function
field_test
()
curves/curve-constraint-tests/src/lib.rs:11
↓ 54 callers
Method
insert
(&self, col: &mut Vec<T>)
poly-commit/src/marlin/marlin_pst13_pc/combinations.rs:36
↓ 53 callers
Method
enforce_equal
(&self, other: &Self)
r1cs-std/src/eq.rs:48
↓ 49 callers
Method
into_projective
(&self)
r1cs-std/src/groups/curves/short_weierstrass/non_zero_affine.rs:37
↓ 47 callers
Method
get
(self, id: &str)
algebra/ff-asm/src/context.rs:39
↓ 43 callers
Method
is_empty
Returns `true` if the linear combination has no terms.
poly-commit/src/data_structures.rs:336
↓ 42 callers
Method
inverse
(&self)
r1cs-std/src/fields/fp/mod.rs:246
↓ 41 callers
Method
clone
(&self)
marlin/src/data_structures.rs:48
↓ 41 callers
Method
clone
(&self)
groth16/benches/bench.rs:31
↓ 40 callers
Function
setup
( srs: &PC::UniversalParams, circ: &relations::flat::CircuitLayout<F>, )
mpc-plonk/src/lib.rs:42
↓ 39 callers
Method
clone
(&self)
nonnative/src/allocated_nonnative_field_var.rs:861
↓ 39 callers
Method
double_in_place
(&mut self)
r1cs-std/src/groups/curves/short_weierstrass/non_zero_affine.rs:122
↓ 39 callers
Method
reveal
(self)
mpc-algebra/src/reveal.rs:48
↓ 37 callers
Method
degree_bound
Retrieve the degree bound in `self`.
poly-commit/src/data_structures.rs:174
↓ 37 callers
Method
inverse
(&self)
algebra/ff/src/fields/models/cubic_extension.rs:227
↓ 37 callers
Method
size
The number of powers in `self`.
poly-commit/src/kzg10/data_structures.rs:167
↓ 36 callers
Method
label
Return the label for `self`.
poly-commit/src/data_structures.rs:154
↓ 36 callers
Function
open
Open a t-share.
mpc-algebra/src/share/gsz20/mod.rs:434
↓ 36 callers
Method
sum
(iter: I)
mpc-algebra/src/group.rs:100
↓ 35 callers
Method
borrow_mut
(&self)
snark/relations/src/r1cs/constraint_system.rs:784
↓ 35 callers
Function
sqrt_field_test
(elem: F)
algebra/test-templates/src/fields.rs:347
↓ 34 callers
Method
double
(&self)
algebra/ec/src/models/twisted_edwards_extended.rs:284
↓ 33 callers
Method
new_witness_variable
(&mut self, f: Func)
snark/relations/src/r1cs/constraint_system.rs:227
↓ 30 callers
Method
conjugate
This is only to be used when the element is *known* to be in the cyclotomic subgroup.
algebra/ff/src/fields/models/quadratic_extension.rs:154
↓ 30 callers
Method
lc
Constructs a `LinearCombination` from `Self`'s variables according to the following map. `Boolean::Constant(true) => lc!() + Variable::One` `Boolean:
r1cs-std/src/bits/boolean.rs:267
↓ 30 callers
Method
not
Negates `self`. This *does not* create any new variables or constraints. ``` # fn main() -> Result<(), ark_relations::r1cs::SynthesisError> { // We'l
r1cs-std/src/bits/boolean.rs:355
↓ 30 callers
Method
parse
(input: ParseStream<'_>)
algebra/ff-asm/src/lib.rs:54
↓ 30 callers
Method
publicize
(&mut self)
mpc-trait/src/lib.rs:37
↓ 29 callers
Method
add_assign_mixed
(&mut self, other: &GroupAffine<P>)
algebra/ec/src/models/twisted_edwards_extended.rs:514
↓ 29 callers
Method
cs
Return cs
nonnative/src/allocated_nonnative_field_var.rs:37
↓ 29 callers
Method
num_constraints
(&self)
snark/relations/src/r1cs/constraint_system.rs:802
↓ 29 callers
Method
or
(&self, b: &Self)
r1cs-std/src/bits/boolean.rs:111
↓ 28 callers
Method
polynomial
Retrieve the polynomial from `self`
poly-commit/src/data_structures.rs:159
↓ 26 callers
Method
frobenius_map
(&mut self, power: usize)
algebra/ff/src/fields/models/cubic_extension.rs:269
↓ 26 callers
Method
mul_assign_by_fp
(&mut self, other: &P::Fp)
algebra/ff/src/fields/models/fp2.rs:97
↓ 25 callers
Method
mul
(&self, other: &Self)
r1cs-std/src/fields/fp/mod.rs:148
↓ 25 callers
Method
mul_assign
(&mut self, other: &Self)
algebra/ff/src/fields/models/cubic_extension.rs:465
↓ 25 callers
Method
select
( &self, first: &T, second: &T, )
r1cs-std/src/bits/boolean.rs:766
↓ 25 callers
Function
test_serialize
( data: T, )
algebra/serialize/src/lib.rs:879
↓ 24 callers
Method
to_bits_le
(&self)
r1cs-std/src/bits/mod.rs:56
↓ 23 callers
Method
interpolate
Interpolate a polynomial from a list of evaluations
algebra/poly/src/evaluations/univariate/mod.rs:46
↓ 22 callers
Method
evaluate
Evaluate the polynomial in `self`.
poly-commit/src/data_structures.rs:164
↓ 22 callers
Method
value
Obtain the value of a nonnative field element
nonnative/src/allocated_nonnative_field_var.rs:82
↓ 22 callers
Method
variable
Get the R1CS variable for `self`.
r1cs-std/src/bits/boolean.rs:44
↓ 21 callers
Method
and
(&self, b: &Self)
r1cs-std/src/bits/boolean.rs:92
↓ 21 callers
Method
inner
(&self)
snark/relations/src/r1cs/constraint_system.rs:763
↓ 21 callers
Method
is_constant
Returns `true` if `self` is a circuit-generation-time constant.
r1cs-std/src/lib.rs:86
↓ 21 callers
Method
value
(&self)
r1cs-std/src/groups/curves/twisted_edwards/mod.rs:55
↓ 20 callers
Function
group_test
()
curves/curve-constraint-tests/src/lib.rs:244
↓ 20 callers
Method
is_zero
Checks if the given polynomial is zero.
algebra/poly/src/polynomial/univariate/dense.rs:503
↓ 19 callers
Function
evaluate
Test if sparse multilinear polynomial evaluates correctly. This function assumes dense multilinear polynomial functions correctly.
algebra/poly/src/evaluations/multivariate/multilinear/sparse.rs:427
↓ 19 callers
Method
get
(self)
r1cs-std/src/lib.rs:134
↓ 19 callers
Method
is_zero
(&self)
algebra/ec/src/models/short_weierstrass_jacobian.rs:154
↓ 19 callers
Method
xor
(&self, other: &Self)
r1cs-std/src/bits/uint8.rs:241
↓ 18 callers
Function
get_params
( target_field_size: usize, base_field_size: usize, optimization_type: OptimizationType, )
nonnative/src/params.rs:5
↓ 18 callers
Method
square_in_place
(&mut self)
mpc-algebra/src/wire/field.rs:338
↓ 18 callers
Method
write_all
(&mut self, buf: &[u8])
utils/src/io/mod.rs:295
↓ 17 callers
Method
is_zero
(&self)
algebra/ff/src/fields/mod.rs:508
↓ 17 callers
Method
new_input_variable
(&mut self, f: Func)
snark/relations/src/r1cs/constraint_system.rs:212
↓ 17 callers
Method
new_lc
(&mut self, lc: LinearCombination<F>)
snark/relations/src/r1cs/constraint_system.rs:242
↓ 16 callers
Method
check
(&self, cmt: &LabeledCommitment<PC::Commitment>, x: F, open: &(F, PC::Proof))
mpc-plonk/src/lib.rs:492
↓ 16 callers
Method
coset_fft_in_place
(&self, coeffs: &mut Vec<T>)
algebra/poly/src/domain/general.rs:214
↓ 16 callers
Method
degree
Retrieve the degree of the polynomial in `self`.
poly-commit/src/data_structures.rs:169
↓ 16 callers
Method
double
(&self)
r1cs-std/src/groups/curves/short_weierstrass/non_zero_affine.rs:67
↓ 16 callers
Method
eval
Evaluate polynomial `p` at `x`, producing a proof of the evaluation as well. With respect to a commitment `p_c` under randomness `p_r`.
mpc-plonk/src/lib.rs:343
↓ 16 callers
Method
is_none
Returns `true` is `self == ConstraintSystemRef::None`.
snark/relations/src/r1cs/constraint_system.rs:753
↓ 16 callers
Method
sample
(&self, rng: &mut R)
algebra/ff/src/fields/models/cubic_extension.rs:391
↓ 16 callers
Method
value
Get the assigned value for `self`.
r1cs-std/src/bits/boolean.rs:32
↓ 16 callers
Method
value
(&self)
r1cs-std/src/fields/fp/mod.rs:61
↓ 15 callers
Method
next
(&mut self)
algebra/ff/src/fields/mod.rs:544
↓ 15 callers
Method
serialize
(&self, mut writer: W)
algebra/serialize/src/lib.rs:177
↓ 15 callers
Method
serialize
(&self, _writer: W)
mpc-algebra/src/group.rs:53
↓ 14 callers
Method
coeffs
Returns the coefficients of `self`
algebra/poly/src/polynomial/univariate/dense.rs:143
↓ 14 callers
Method
cs
(&self)
r1cs-std/src/groups/curves/short_weierstrass/mod.rs:122
↓ 14 callers
Method
ifft_in_place
(&self, evals: &mut Vec<T>)
algebra/poly/src/domain/general.rs:209
↓ 14 callers
Method
into_projective
Converts self into the projective representation.
algebra/ec/src/lib.rs:270
↓ 14 callers
Method
inverse
(&self)
mpc-algebra/src/wire/field.rs:343
next →
1–100 of 2,749, ranked by callers