MCPcopy Create free account

hub / github.com/LBruyne/Scalable-Collaborative-zkSNARK / functions

Functions153 in github.com/LBruyne/Scalable-Collaborative-zkSNARK

↓ 73 callersMethodclone
(&self)
mpc-net/src/multi.rs:54
↓ 58 callersFunctionrandom_evaluations
(n: usize)
dist-primitive/src/lib.rs:13
↓ 46 callersMethodopen
( &self, peval: &Vec<E::ScalarField>, point: &[E::ScalarField], )
dist-primitive/src/dpoly_comm.rs:299
↓ 44 callersMethodcommit
(&self, peval: &Vec<E::ScalarField>)
dist-primitive/src/dpoly_comm.rs:237
↓ 36 callersFunctionsumcheck_product
( evaluation_f: &Vec<F>, evaluation_g: &Vec<F>, challenge: &Vec<F>, )
dist-primitive/src/dsumcheck.rs:28
↓ 34 callersMethodd_commit
( &self, peval: &Vec<E::ScalarField>, net: &Net, sid: MultiplexedStreamID,
dist-primitive/src/dpoly_comm.rs:276
↓ 34 callersMethodd_open
( &self, peval: &Vec<E::ScalarField>, point: &Vec<E::ScalarField>, net: &Net,
dist-primitive/src/dpoly_comm.rs:355
↓ 27 callersMethodn_parties
(&self)
mpc-net/src/multi.rs:366
↓ 27 callersMethodpack_from_public
(&self, mut secrets: Vec<G>)
secret-sharing/src/pss.rs:69
↓ 25 callersMethodparty_id
(&self)
mpc-net/src/multi.rs:370
↓ 22 callersFunctiontranspose
Transpose a matrix
dist-primitive/src/utils/operator.rs:23
↓ 21 callersMethodc_open
In this protocol, we make an optimization that batches all of dMSM into one round of communication.
dist-primitive/src/dpoly_comm.rs:401
↓ 21 callersFunctionc_sumcheck_product
( shares_f: &Vec<F>, shares_g: &Vec<F>, challenge: &Vec<F>, pp: &PackedSharingParams<F>, n
dist-primitive/src/dsumcheck.rs:148
↓ 19 callersMethodis_leader
Am I the first party?
mpc-net/src/lib.rs:40
↓ 18 callersFunctiond_sumcheck_product
( partial_f: &Vec<F>, partial_g: &Vec<F>, challenge: &Vec<F>, net: &Net, sid: MultiplexedS
dist-primitive/src/dsumcheck.rs:359
↓ 15 callersMethodc_commit
( &self, pevals: &Vec<Vec<E::ScalarField>>, pp: &PackedSharingParams<E::ScalarField>,
dist-primitive/src/dpoly_comm.rs:244
↓ 15 callersMethodunpack
(&self, mut shares: Vec<G>)
secret-sharing/src/pss.rs:117
↓ 14 callersMethodsimulate_network_round
For each node, run a function (a Future) provided by the parameter that accepts the node's Connection. Then, run all these futures in a FuturesOrdered
mpc-net/src/multi.rs:330
↓ 12 callersFunctionfix_variable
( evaluations: &Vec<F>, points: &Vec<F>, )
dist-primitive/src/mle.rs:88
↓ 11 callersMethodmature
(&self)
dist-primitive/src/dpoly_comm.rs:141
↓ 8 callersMethodget_leader
(&self)
mpc-net/src/multi.rs:359
↓ 7 callersMethodpack_from_public_in_place
(&self, secrets: &mut Vec<G>)
secret-sharing/src/pss.rs:93
↓ 6 callersMethodadd_comm
(&self, up: usize, down: usize)
mpc-net/src/multi.rs:384
↓ 6 callersMethodleader_compute_element
Everyone sends bytes to the leader, who receives those bytes, runs a computation on them, and redistributes the resulting bytes. The leader's computa
dist-primitive/src/utils/serializing_net.rs:128
↓ 6 callersFunctionsub_index
Given i as a number in its binary representation, i.e. i = (1,x), return (x,0) and (x,1) For example, given i=26=b11010, return b10100=20 and b10101=2
dist-primitive/src/dacc_product.rs:18
↓ 6 callersMethodworker_send_or_leader_receive_element
( &self, out: &T, sid: MultiplexedStreamID, )
dist-primitive/src/utils/serializing_net.rs:11
↓ 5 callersFunctionacc_product
A monolithic implementation of the functionality. Given evaluations of f(x) for x in the hypercube, Returns the shares or v(x,0),v(x,1),v(1,x). s.t.,
dist-primitive/src/dacc_product.rs:30
↓ 5 callersMethodconnect_to_all
(&mut self)
mpc-net/src/multi.rs:153
↓ 5 callersMethoddynamic_worker_receive_or_worker_send_element
( &self, out: Option<Vec<T>>, sender: u32, sid: MultiplexedStreamID, )
dist-primitive/src/utils/serializing_net.rs:98
↓ 5 callersFunctionpss2ss
( share: F, pp: &PackedSharingParams<F>, net: &Net, sid: MultiplexedStreamID, )
dist-primitive/src/unpack.rs:72
↓ 5 callersMethodunpack2
(&self, mut shares: Vec<G>)
secret-sharing/src/pss.rs:124
↓ 5 callersMethodunpack2_in_place
(&self, shares: &mut Vec<G>)
secret-sharing/src/pss.rs:153
↓ 5 callersMethodworker_receive_or_leader_send_element
( &self, out: Option<Vec<T>>, sid: MultiplexedStreamID, )
dist-primitive/src/utils/serializing_net.rs:76
↓ 4 callersMethoddelegate
(&self, l: usize)
dist-primitive/examples/sumcheck.rs:33
↓ 4 callersMethodlisten
(&mut self)
mpc-net/src/multi.rs:142
↓ 4 callersMethodpack_from_public_rand
( &self, mut secrets: Vec<G>, )
secret-sharing/src/pss.rs:76
↓ 4 callersMethodrecv_from
(&self, id: u32, sid: MultiplexedStreamID)
mpc-net/src/multi.rs:389
↓ 4 callersMethodsend_to
( &self, id: u32, bytes: Bytes, sid: MultiplexedStreamID, )
mpc-net/src/multi.rs:401
↓ 4 callersMethodsync
Sync MPC state
mpc-net/src/lib.rs:275
↓ 4 callersMethodworker_receive_or_leader_send
All parties recv bytes from the leader. Provide bytes iff you're the leader!
mpc-net/src/lib.rs:165
↓ 4 callersMethodworker_send_or_leader_receive
All parties send bytes to the leader. The leader receives all the bytes
mpc-net/src/lib.rs:64
↓ 3 callersFunctionc_acc_product_and_share
Given pss of evaluations of f, Returns the shares or v(x,0),v(x,1),v(1,x). s.t., v(0,x) = f(x), v(1,x) = v(x,0) * v(x,1). v(1,1,..,1) will be set to 0
dist-primitive/src/dacc_product.rs:66
↓ 3 callersFunctionc_sumcheck
( shares: &Vec<F>, challenge: &Vec<F>, pp: &PackedSharingParams<F>, net: &Net, sid: Multip
dist-primitive/src/dsumcheck.rs:92
↓ 3 callersFunctiond_acc_product
( inputs: &Vec<F>, net: &Net, sid: MultiplexedStreamID, )
dist-primitive/src/dacc_product.rs:365
↓ 3 callersFunctiondegree_reduce_many
Reduce the degree of a share from 2n to n, this function accept a batch of shares
dist-primitive/src/degree_reduce.rs:10
↓ 3 callersMethoddynamic_worker_send_or_leader_receive_element
( &self, out: &T, receiver: u32, sid: MultiplexedStreamID, )
dist-primitive/src/utils/serializing_net.rs:41
↓ 3 callersFunctionmerge
(results: &Vec<Vec<F>>)
dist-primitive/src/dacc_product.rs:416
↓ 3 callersMethodunpack_in_place
(&self, shares: &mut Vec<G>)
secret-sharing/src/pss.rs:132
↓ 2 callersMethodd_local_commit
(&self, peval: &Vec<E::ScalarField>)
dist-primitive/src/dpoly_comm.rs:269
↓ 2 callersFunctionmultiplex_stream
Should be called immediately after making a connection to a peer.
mpc-net/src/multi.rs:67
↓ 2 callersFunctionrecv_stream
( stream: Option<&Vec<TokioMutex<WrappedStream<T>>>>, sid: MultiplexedStreamID, )
mpc-net/src/multi.rs:432
↓ 2 callersFunctionsend_stream
( stream: Option<&Vec<TokioMutex<WrappedStream<T>>>>, bytes: Bytes, sid: MultiplexedStreamID, )
mpc-net/src/multi.rs:420
↓ 2 callersMethodserialize
(&self)
dist-primitive/examples/delegator.rs:35
↓ 2 callersFunctionsumcheck
(evaluation: &Vec<F>, challenge: &Vec<F>)
dist-primitive/src/dsumcheck.rs:6
↓ 2 callersFunctionwrap_stream
(stream: T)
mpc-net/src/multi.rs:29
↓ 1 callersFunctionc_acc_product
Given pss of evaluations of f, Returns the tree-shaped product of the masked results.
dist-primitive/src/dacc_product.rs:296
↓ 1 callersFunctioncpermcheck_bench
(n: usize, l: usize)
hyperplonk/examples/permcheck.rs:34
↓ 1 callersMethodd_local_open
( &self, peval: &Vec<E::ScalarField>, point: &[E::ScalarField], )
dist-primitive/src/dpoly_comm.rs:327
↓ 1 callersFunctiond_msm
This protocol implement dMSM in a batched way.
dist-primitive/src/dmsm.rs:9
↓ 1 callersFunctiond_unpack2_many
( share: Vec<F>, receiver: u32, pp: &PackedSharingParams<F>, net: &Net, sid: MultiplexedSt
dist-primitive/src/unpack.rs:55
↓ 1 callersMethoddelegate
(&self, l:usize)
dist-primitive/examples/delegator.rs:48
↓ 1 callersFunctiondpermcheck_bench
(n: usize, l: usize)
hyperplonk/examples/permcheck.rs:66
↓ 1 callersMethoddynamic_worker_receive_or_leader_send
All parties recv bytes from someone. Provide bytes iff you're the someone!
mpc-net/src/lib.rs:211
↓ 1 callersMethoddynamic_worker_send_or_leader_receive
All parties send bytes to someone. The someone receives all the bytes
mpc-net/src/lib.rs:111
↓ 1 callersMethodget_connection
Get the connection for a given party ID
mpc-net/src/multi.rs:355
↓ 1 callersFunctionhyperplonk_collaborative_bench
(n: usize, l: usize)
hyperplonk/examples/hyperplonk.rs:37
↓ 1 callersFunctionhyperplonk_distributed_bench
(net: &MPCNetConnection<TcpStream>, n: usize, l: usize)
hyperplonk/examples/bench_hyperplonk.rs:42
↓ 1 callersFunctionhyperplonk_distributed_bench
(net: &MPCNetConnection<TcpStream>, n: usize, l: usize)
hyperplonk/examples/bench_hyperplonk_dataparallel.rs:42
↓ 1 callersFunctionhyperplonk_local_bench
(n: usize)
hyperplonk/examples/hyperplonk.rs:67
↓ 1 callersFunctionmvpc_bench
(n: usize, l: usize)
dist-primitive/examples/poly_comm.rs:37
↓ 1 callersFunctionpermcheck_distributed_bench
(net: &MPCNetConnection<TcpStream>, n: usize, l: usize)
hyperplonk/examples/bench_dpermcheck.rs:44
↓ 1 callersFunctionpermcheck_distributed_bench
(net: &MPCNetConnection<TcpStream>, n: usize, l: usize)
hyperplonk/examples/bench_cpermcheck.rs:42
↓ 1 callersFunctionproduct_accumulator_bench
(n: usize, l: usize)
dist-primitive/examples/prod_acc.rs:37
↓ 1 callersFunctionsumcheck_bench
(n: usize, l: usize)
dist-primitive/examples/sumcheck.rs:103
↓ 1 callersFunctionsumcheck_product_bench
(n: usize, l: usize)
dist-primitive/examples/sumcheck.rs:184
Functionacc_product_test
()
dist-primitive/src/dacc_product.rs:451
Functionbench_packing
(b: &mut Bencher)
secret-sharing/src/pss.rs:290
Functionbench_unpacking
(b: &mut Bencher)
secret-sharing/src/pss.rs:301
Functioncheck_sumcheck
(h: Fr, proof: Vec<(Fr, Fr)>, challenge: Vec<Fr>)
dist-primitive/src/dsumcheck.rs:541
Functioncheck_sumcheck_product
(h: Fr, proof: Vec<(Fr, Fr, Fr)>, challenge: Vec<Fr>)
dist-primitive/src/dsumcheck.rs:558
Functioncompute_indent
(indent_amount: usize)
mpc-net/src/utils/timer.rs:207
Functioncompute_indent_whitespace
(indent_amount: usize)
mpc-net/src/utils/timer.rs:199
Functioncpermcheck
( n: usize, // n is the log2 of the circuit size pk: &PackedProvingParameters<E>, pp: &PackedShari
hyperplonk/src/dhyperplonk.rs:1249
Functiond_fix_variable
( shares: &Vec<F>, points: &Vec<F>, pp: &PackedSharingParams<F>, net: &Net, sid: Multiplex
dist-primitive/src/mle.rs:51
Functiond_msm_test
( pp: &PackedSharingParams<G::ScalarField>, x_share_aff: &Vec<G::Affine>, y_share: &Vec<G::ScalarF
dist-primitive/examples/msm.rs:79
Functiond_sumcheck
( partial_poly: &Vec<F>, challenge: &Vec<F>, net: &Net, sid: MultiplexedStreamID, )
dist-primitive/src/dsumcheck.rs:287
Functiond_unpack
( share: F, receiver: u32, pp: &PackedSharingParams<F>, net: &Net, sid: MultiplexedStreamI
dist-primitive/src/unpack.rs:21
Functiond_unpack2
( share: F, receiver: u32, pp: &PackedSharingParams<F>, net: &Net, sid: MultiplexedStreamI
dist-primitive/src/unpack.rs:38
Functiond_unpack_0
( share: F, pp: &PackedSharingParams<F>, net: &Net, sid: MultiplexedStreamID, )
dist-primitive/src/unpack.rs:8
Functiondegree_reduce
Reduce the degree of a share from 2n to n
dist-primitive/src/degree_reduce.rs:29
Functiondhyperplonk
( n: usize, // n is the log2 of the circuit size pk: &PackedProvingParameters<E>, pp: &PackedShari
hyperplonk/src/dhyperplonk.rs:159
Functiondhyperplonk_data_parallel
( n: usize, // n is the log2 of the circuit size pk: &PackedProvingParameters<E>, pp: &PackedShari
hyperplonk/src/dhyperplonk.rs:573
Functiondpermcheck
( n: usize, // n is the log2 of the circuit size pk: &PackedProvingParameters<E>, pp: &PackedShari
hyperplonk/src/dhyperplonk.rs:962
Functiondsumcheck_local_test
()
dist-primitive/src/dsumcheck.rs:592
Functiondsumcheck_product_test
()
dist-primitive/src/dsumcheck.rs:810
Functiondsumcheck_test
()
dist-primitive/src/dsumcheck.rs:624
Methodfmt
(&self, f: &mut Formatter<'_>)
mpc-net/src/multi.rs:44
Methodfrom
(e: T)
mpc-net/src/lib.rs:23
Methodfrom_evaluations_slice
(num_vars: usize, shares: &[F])
dist-primitive/src/mle.rs:28
Methodget_comm
(&self)
mpc-net/src/multi.rs:378
next →1–100 of 153, ranked by callers