MCPcopy Create free account

hub / github.com/data61/MP-SPDZ / functions

Functions8,062 in github.com/data61/MP-SPDZ

↓ 2 callersMethodreveal_to_clients
Reveal securely to clients. Uses :py:obj:`program.active` to determine whether to use triples for active security. :param cl
Compiler/types.py:2738
↓ 2 callersMethodround_to_int
Secret floating-point rounding to integer. :return: sint
Compiler/types.py:5898
↓ 2 callersMethodrow_matrix_mul
(cls, row, matrix, res_params=None)
Compiler/types.py:2265
↓ 2 callersFunctionrun
(tapename)
Scripts/decompile.py:13
↓ 2 callersFunctionrun
(x)
ExternalIO/bankers-bonus-client.py:22
↓ 2 callersMethodrun
Networking/Receiver.cpp:54
↓ 2 callersMethodrun
FHEOffline/SimpleMachine.cpp:269
↓ 2 callersMethodrun_by_args
(self, program, n_runs, batch_size, test_X, test_Y, acc_batch_size=None, reset=True)
Compiler/ml.py:3692
↓ 2 callersFunctionrun_decision_tree
Run decision tree against sample data. :param layers: tree output by :py:class:`TreeTrainer` :param data: sample data (:py:class:`~Compiler.
Compiler/decision_tree.py:483
↓ 2 callersMethodrun_in_batches
(self, f, data, batch_size, truth=None)
Compiler/ml.py:3671
↓ 2 callersMethodrun_step
Processor/Machine.hpp:416
↓ 2 callersMethodrun_tape
(self, tape_index, arg)
Compiler/program.py:400
↓ 2 callersMethodrun_tapes
Run tapes in parallel. See :py:func:`new_tape` for an example. :param args: list of tape handles or tuples of tape handle and extra
Compiler/program.py:403
↓ 2 callersMethodsacrifice_and_check_bits
Protocols/DabitSacrifice.hpp:118
↓ 2 callersMethodsame_type
(cls, size=None)
Compiler/GC/types.py:151
↓ 2 callersMethodsample
This uses the approximation to a Gaussian via * binomial distribution * * This procedure consumes 2*NewHopeB bits * */
FHE/DiscreteGauss.cpp:20
↓ 2 callersFunctionscos
(w, s)
Compiler/mpc_math.py:197
↓ 2 callersFunctionsecret_error
(x)
Compiler/library.py:87
↓ 2 callersFunctionsecure_init
FHEOffline/DataSetup.hpp:80
↓ 2 callersMethodsecure_init
FHEOffline/TemiSetup.cpp:22
↓ 2 callersMethodsend
Protocols/ReplicatedPO.hpp:11
↓ 2 callersMethodsend_public_inputs
Send values in the clear. This works for public inputs to all servers or to send shares to a single server. :param values: list of v
ExternalIO/client.py:142
↓ 2 callersMethodset
Yao/YaoGarbleWire.h:129
↓ 2 callersMethodset_alphai
FHEOffline/PairwiseSetup.cpp:245
↓ 2 callersMethodset_bit_length
Change the integer bit length for non-linear functions.
Compiler/program.py:683
↓ 2 callersMethodset_challenge
FHEOffline/Proof.cpp:36
↓ 2 callersMethodset_coeffs
OT/OTVole.hpp:85
↓ 2 callersMethodset_common_m
Protocols/TrioShare.h:89
↓ 2 callersMethodset_external_key
BMR/Register.cpp:68
↓ 2 callersMethodset_fast_mode
Protocols/Replicated.hpp:217
↓ 2 callersFunctionset_global_instruction_type
(t)
Compiler/instructions_base.py:264
↓ 2 callersMethodset_int128
Tools/BitVector.h:174
↓ 2 callersMethodset_length
(self, n)
Compiler/GC/types.py:167
↓ 2 callersMethodset_matrix_dim_from_options
FHE/FHE_Params.cpp:47
↓ 2 callersMethodset_min_sec
FHE/FHE_Params.cpp:34
↓ 2 callersMethodset_poly_mod
FHE/Plaintext.cpp:154
↓ 2 callersMethodset_proc
Protocols/ReplicatedPrep.h:151
↓ 2 callersMethodset_proc
Processor/Data_Files.h:163
↓ 2 callersMethodset_ring_size
(self, ring_size)
Compiler/program.py:347
↓ 2 callersMethodset_thread_stats
Processor/BaseMachine.cpp:336
↓ 2 callersMethodset_vectorbase
(self, vectorbase)
Compiler/program.py:1854
↓ 2 callersMethodsetup_redirection
Processor/ProcessorBase.cpp:29
↓ 2 callersFunctionshort_memcpy
Networking/data.h:21
↓ 2 callersMethodshuffle_evict
Evict using oblivious shuffling etc
Compiler/path_oram.py:339
↓ 2 callersFunctionshuffle_triple_generation
Protocols/MalRepRingPrep.hpp:103
↓ 2 callersFunctionsign_benchmark
ECDSA/sign.hpp:132
↓ 2 callersMethodsize
ECDSA/P256Element.h:30
↓ 2 callersMethodsize
OT/Row.h:112
↓ 2 callersMethodsize
Tools/CheckVector.h:56
↓ 2 callersMethodsize
Tools/FixedVector.h:68
↓ 2 callersMethodsize_for_mem
(self)
Compiler/types.py:583
↓ 2 callersMethodsize_s
Processor/Memory.h:129
↓ 2 callersFunctionsoftmax_from_exp
(x)
Compiler/ml.py:186
↓ 2 callersFunctionsource
(dest)
Scripts/process-tf.py:36
↓ 2 callersFunctionsqrRootMod
Math/bigint.hpp:80
↓ 2 callersFunctionssin
(w, s)
Compiler/mpc_math.py:176
↓ 2 callersFunctionssl_error
Networking/CryptoPlayer.cpp:18
↓ 2 callersMethodstart
(self)
Compiler/oram.py:1431
↓ 2 callersMethodstart
Networking/Sender.cpp:33
↓ 2 callersMethodstart_exchange
Protocols/Beaver.hpp:71
↓ 2 callersMethodstop_exchange
Protocols/Beaver.hpp:77
↓ 2 callersMethodstore
(self, reg)
Compiler/instructions_base.py:555
↓ 2 callersMethodstore
(self, value)
ExternalIO/client.py:202
↓ 2 callersMethodstore_bytes
Tools/octetStream.cpp:152
↓ 2 callersMethodstore_in_dynamic_mem
(self, address)
Compiler/GC/types.py:342
↓ 2 callersMethodstore_spdz_wire
BMR/TrustedParty.cpp:297
↓ 2 callersFunctionstupid_dijkstra
(M, s, n_loops=None)
Compiler/dijkstra.py:546
↓ 2 callersMethodswap
Tools/BitVector.h:135
↓ 2 callersMethodtemp_shape
(self)
Compiler/ml.py:2168
↓ 2 callersFunctiontest_decision_tree
(name, layers, y, x, n_threads=None, time=False)
Compiler/decision_tree.py:510
↓ 2 callersMethodto_array
(self)
Compiler/types.py:6839
↓ 2 callersFunctionto_bigint
Math/bigint.h:217
↓ 2 callersMethodto_regint_by_bit
(self)
Compiler/GC/types.py:440
↓ 2 callersMethodtop_gear
Protocols/CowGearOptions.h:24
↓ 2 callersFunctiontopological_sort
(G, nbunch=None, pref=None)
Compiler/graph.py:105
↓ 2 callersMethodtotal_edabits
Processor/DataPositions.cpp:236
↓ 2 callersMethodtrain
Train and return decision tree.
Compiler/decision_tree.py:422
↓ 2 callersMethodtrain_layer
(self, k)
Compiler/decision_tree.py:364
↓ 2 callersMethodtrans_mul_to
Matrix multiplication with the transpose of :py:obj:`self` in the virtual machine. :param self: :py:class:`Matrix` / 2-dimen
Compiler/types.py:7379
↓ 2 callersMethodtrunc
(self, a, k, m, signed)
Compiler/non_linear.py:48
↓ 2 callersFunctiontrunc_pr
(x)
Programs/Source/export-trunc.py:2
↓ 2 callersMethodtrunc_pr_small_gap
Protocols/Astra.hpp:772
↓ 2 callersMethodtrunc_pr_warning
(self)
Compiler/program.py:725
↓ 2 callersFunctiontrunc_zeros
(a, n_zeros, bit_length=None, **kwargs)
Compiler/util.py:44
↓ 2 callersMethodtype_check
(reg, type_id)
Compiler/instructions.py:511
↓ 2 callersFunctionunary_to_binary
(l)
Compiler/circuit_oram.py:82
↓ 2 callersFunctionunflatten
(S_flat)
Compiler/circuit.py:206
↓ 2 callersMethodunpack
BMR/SpdzWire.h:30
↓ 2 callersMethodunpack
FHEOffline/PairwiseMachine.cpp:122
↓ 2 callersMethodunpack
FHE/Ring_Element.cpp:562
↓ 2 callersMethodunpack
FHE/AddableVector.h:140
↓ 2 callersMethodupdate
Update an existing value that resides on the path to `leaf`. Then evict and update_min along the path. Important: Assumes that values
Compiler/path_oblivious_heap.py:554
↓ 2 callersMethodupdate
(self, value, prio, for_real=True)
Compiler/dijkstra.py:104
↓ 2 callersMethodupdate
Update register. Useful in loops like :py:func:`~Compiler.library.for_range`. :param other: any convertible type
Compiler/program.py:1940
↓ 2 callersMethodupdate_max_usage
(self, alloc_pool)
Compiler/allocator.py:278
↓ 2 callersMethodupdate_usage
(self, alloc_pool)
Compiler/allocator.py:282
↓ 2 callersFunctionupdatevector
(vector, index, value)
Compiler/dijkstra.py:522
↓ 2 callersMethoduse_invperm
Set whether to use the low-level INVPERM instruction to inverse a permutation (see sint.inverse_permutation). The INVPERM instruction assumes a semi-
Compiler/program.py:747
↓ 2 callersMethodvalue_cmp
Return 1 if both are non-empty and have the same value.
Compiler/path_oblivious_heap.py:213
↓ 2 callersFunctionvec_trans
GC/ShareSecret.hpp:325
← previousnext →1,701–1,800 of 8,062, ranked by callers