Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andrewmilson/ministark
/ functions
Functions
407 in github.com/andrewmilson/ministark
⨍
Functions
407
◇
Types & classes
131
Function
gpu_rpo_from_rows
()
gpu/tests/rpo.rs:72
Method
hash_chunks
(slices: impl IntoIterator<Item = &'a [u8]>)
src/hash.rs:71
Method
hash_elements
(elements: impl IntoIterator<Item = F>)
src/hash.rs:93
Method
hash_leaves
(_: u32, l0: &H::Digest, l1: &H::Digest)
src/merkle.rs:399
Method
hash_nodes
(_: u32, n0: &Self::Digest, n1: &Self::Digest)
src/merkle.rs:403
Function
hash_rows
(matrix: &Matrix<F>)
src/merkle.rs:412
Method
hash_rows
TODO: remove
src/matrix.rs:254
Method
hint
(&self)
src/constraints.rs:352
Function
if_instr
( instr: OpCode, indeterminate: impl Borrow<Expr<AlgebraicItem<FieldVariant<Fp, Fq>>>>, )
examples/brainfuck/constraints.rs:507
Function
ifft
()
gpu/tests/shaders.rs:94
Method
index
(&self, hint: H)
src/hints.rs:36
Method
index
(&self, challenge: C)
src/challenges.rs:29
Method
index_mut
(&mut self, col: C)
src/matrix.rs:440
Function
instr_zerofier
( instr: impl Borrow<Expr<AlgebraicItem<FieldVariant<Fp, Fq>>>>, )
examples/brainfuck/constraints.rs:479
Function
interleave
( source: &[T], )
src/utils.rs:53
Method
into_fq_vec
(self)
src/eval_gpu.rs:229
Function
is_page_aligned
(v: &[T])
gpu/src/utils.rs:193
Method
join
(mut matrices: Vec<Self>)
src/matrix.rs:85
Function
main
()
build.rs:1
Function
main
()
gpu/build.rs:1
Function
main
()
examples/fib/main.rs:227
Function
main
()
examples/rescue/main.rs:33
Function
main
()
examples/brainfuck/main.rs:107
Method
mds_matrix
Generates the maximum distance separable (MDS) matrix Algorithm 4: https://eprint.iacr.org/2020/1143.pdf
examples/rescue/rescue.rs:166
Method
merge
(v0: &SerdeOutput<Sha256>, v1: &SerdeOutput<Sha256>)
src/hash.rs:77
Method
merge_with_int
(seed: &SerdeOutput<Sha256>, value: u64)
src/hash.rs:84
Method
mul
(mut self, rhs: &Fp)
gpu/src/fields.rs:170
Method
mul
(self, rhs: Self)
src/utils.rs:350
Method
mul
(self, rhs: Self)
src/expression.rs:251
Method
mul
(self, rhs: Self)
src/eval_gpu.rs:536
Method
mul
(self, rhs: Self)
src/eval_cpu.rs:366
Method
mul
(self, rhs: Self)
src/constraints.rs:63
Method
mul_assign
(&mut self, rhs: &Fp)
gpu/src/fields.rs:100
Method
mul_assign
(&mut self, other: Self)
src/expression.rs:693
Function
mul_pow_fp
()
gpu/tests/fields.rs:18
Function
mul_pow_fq3
()
gpu/tests/fields.rs:84
Function
mul_pow_fq3_by_fp
()
gpu/tests/fields.rs:51
Method
neg
(self)
src/utils.rs:363
Method
neg
(self)
src/eval_gpu.rs:780
Method
neg
(self)
src/eval_cpu.rs:477
Method
neg
(self)
src/constraints.rs:186
Method
new
(n: usize, requires_padding: bool)
gpu/src/plan.rs:43
Method
new
( library: &metal::LibraryRef, n: usize, num_boxes: usize, variant: FftVariant
gpu/src/stage.rs:47
Method
new
(mut hints: Vec<(usize, F)>)
src/hints.rs:13
Method
new
(name: &'a str)
src/utils.rs:40
Method
new
( air: &'a Air<A>, z: A::Fq, base_trace_polys: Matrix<A::Fp>, extension_trace_
src/composer.rs:26
Method
new
(digest: H::Digest)
src/random.rs:102
Method
new
(air: &'a Air<S::AirConfig>, public_coin: S::PublicCoin)
src/channel.rs:31
Method
new
( base_trace_lde: &Matrix<C::Fp>, extension_trace_lde: Option<&Matrix<C::Fq>>, composi
src/trace.rs:115
Method
new
( blowup_factor: usize, folding_factor: usize, max_remainder_coeffs: usize, )
src/fri.rs:37
Method
new
( num_queries: u8, lde_blowup_factor: u8, grinding_factor: u8, fri_folding_fac
src/lib.rs:102
Method
new
(trace_len: usize, public_inputs: C::PublicInputs, options: ProofOptions)
src/air.rs:145
Method
new
(cols: Vec<GpuVec<F>>)
src/matrix.rs:29
Method
new
# Errors This function will return an error if: there are less than two leaves the number of leaves is not a power of two
src/merkle.rs:112
Method
new
(library: &metal::LibraryRef, lde_size: usize)
src/eval_gpu.rs:177
Method
new
(challenges: Vec<F>)
src/challenges.rs:13
Method
new
# Panics Panics if the number of coefficients or the interval size is not a power of two.
src/constraints.rs:116
Method
new
( state_width: usize, capacity: usize, rounds: usize, security_level: usize,
examples/rescue/rescue.rs:26
Method
new
( processor_base_trace: Matrix<Fp>, memory_base_trace: Matrix<Fp>, instruction_base_tr
examples/brainfuck/trace.rs:39
Method
new_constant
( calculator: &'a GpuLdeCalculator<Fp, Fq>, cache: &'a RefCell<LdeCache<Fp, Fq>>, comm
src/eval_gpu.rs:280
Method
new_lde
( calculator: &'a GpuLdeCalculator<Fp, Fq>, cache: &'a RefCell<LdeCache<Fp, Fq>>, comm
src/eval_gpu.rs:294
Method
new_leaf
(leaf: &T, seen: SeenSet<T>)
src/expression.rs:200
Method
next_u32
(&mut self)
src/random.rs:159
Method
next_u64
(&mut self)
src/random.rs:165
Method
one
()
src/utils.rs:324
Function
ood_constraint_evaluation
( composition_coefficients: &[A::Fq], challenges: &Challenges<A::Fq>, hints: &Hints<A::Fq>, tr
src/verifier.rs:205
Method
partial_cmp
(&self, other: &Self)
src/expression.rs:459
Method
pow
(self, rhs: usize)
src/constraints.rs:95
Method
product
(mut iter: I)
src/constraints.rs:53
Method
prove
( &self, options: ProofOptions, witness: Self::Witness, )
src/stark.rs:57
Function
prove_all_leaves
()
src/merkle.rs:541
Function
query_layer
( layer: &FriLayer<F, M>, positions: &[usize], )
src/fri.rs:650
Function
reduce_lde_blowup_factor
TODO: docs
src/utils.rs:185
Method
remainder_size
(&self, mut domain_size: usize)
src/fri.rs:58
Method
round_constants
Generates the round constants
examples/rescue/rescue.rs:132
Method
rows
(&self)
src/matrix.rs:302
Method
security_level_bits
()
src/random.rs:142
Method
security_level_bits
()
src/merkle.rs:290
Method
serialize_with_mode
( &self, writer: W, compress: ark_serialize::Compress, )
src/utils.rs:213
Method
serialize_with_mode
( &self, mut writer: W, compress: ark_serialize::Compress, )
src/trace.rs:48
Method
serialize_with_mode
( &self, mut writer: W, compress: ark_serialize::Compress, )
src/proof.rs:44
Method
serialized_size
(&self, _compress: ark_serialize::Compress)
src/utils.rs:221
Method
serialized_size
(&self, compress: ark_serialize::Compress)
src/trace.rs:68
Method
serialized_size
(&self, compress: ark_serialize::Compress)
src/proof.rs:68
Method
sub
(self, rhs: &Fp)
gpu/src/fields.rs:154
Method
sub
(self, rhs: &Expr<T>)
src/expression.rs:568
Method
sub
(self, rhs: Self)
src/constraints.rs:87
Method
sub_assign
(&mut self, rhs: Fp)
gpu/src/fields.rs:140
Method
sub_assign
(&mut self, other: Self)
src/expression.rs:729
Method
sum
(mut iter: I)
src/constraints.rs:45
Function
symbolic_evaluation_with_challenges
()
tests/constraint.rs:87
Method
terminal_constraints
( )
examples/brainfuck/constraints.rs:136
Function
threadgroup_fft_size
( max_threadgroup_mem_length: usize, max_threads_per_threadgroup: usize, )
gpu/src/utils.rs:160
Method
trace_arguments
Adapted from https://github.com/0xProject/OpenZKP
src/constraints.rs:252
Function
trace_domain
(trace_len: usize)
src/air.rs:131
Method
transition_constraints
( )
examples/brainfuck/constraints.rs:39
Method
traverse_mut
Applies a bottom-up traversal. The closure is given mutable access to the nodes.
src/expression.rs:99
Method
try_fill_bytes
(&mut self, dest: &mut [u8])
src/random.rs:175
Method
try_from
(value: Matrix<F>)
src/matrix.rs:448
Method
verify
( &self, proof: Proof<Self>, required_security_bits: u32, )
src/stark.rs:78
← previous
next →
301–400 of 407, ranked by callers