Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/data61/MP-SPDZ
/ functions
Functions
8,062 in github.com/data61/MP-SPDZ
⨍
Functions
8,062
◇
Types & classes
1,823
↳
Endpoints
13
↓ 2 callers
Method
reveal_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 callers
Method
round_to_int
Secret floating-point rounding to integer. :return: sint
Compiler/types.py:5898
↓ 2 callers
Method
row_matrix_mul
(cls, row, matrix, res_params=None)
Compiler/types.py:2265
↓ 2 callers
Function
run
(tapename)
Scripts/decompile.py:13
↓ 2 callers
Function
run
(x)
ExternalIO/bankers-bonus-client.py:22
↓ 2 callers
Method
run
Networking/Receiver.cpp:54
↓ 2 callers
Method
run
FHEOffline/SimpleMachine.cpp:269
↓ 2 callers
Method
run_by_args
(self, program, n_runs, batch_size, test_X, test_Y, acc_batch_size=None, reset=True)
Compiler/ml.py:3692
↓ 2 callers
Function
run_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 callers
Method
run_in_batches
(self, f, data, batch_size, truth=None)
Compiler/ml.py:3671
↓ 2 callers
Method
run_step
Processor/Machine.hpp:416
↓ 2 callers
Method
run_tape
(self, tape_index, arg)
Compiler/program.py:400
↓ 2 callers
Method
run_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 callers
Method
sacrifice_and_check_bits
Protocols/DabitSacrifice.hpp:118
↓ 2 callers
Method
same_type
(cls, size=None)
Compiler/GC/types.py:151
↓ 2 callers
Method
sample
This uses the approximation to a Gaussian via * binomial distribution * * This procedure consumes 2*NewHopeB bits * */
FHE/DiscreteGauss.cpp:20
↓ 2 callers
Function
scos
(w, s)
Compiler/mpc_math.py:197
↓ 2 callers
Function
secret_error
(x)
Compiler/library.py:87
↓ 2 callers
Function
secure_init
FHEOffline/DataSetup.hpp:80
↓ 2 callers
Method
secure_init
FHEOffline/TemiSetup.cpp:22
↓ 2 callers
Method
send
Protocols/ReplicatedPO.hpp:11
↓ 2 callers
Method
send_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 callers
Method
set
Yao/YaoGarbleWire.h:129
↓ 2 callers
Method
set_alphai
FHEOffline/PairwiseSetup.cpp:245
↓ 2 callers
Method
set_bit_length
Change the integer bit length for non-linear functions.
Compiler/program.py:683
↓ 2 callers
Method
set_challenge
FHEOffline/Proof.cpp:36
↓ 2 callers
Method
set_coeffs
OT/OTVole.hpp:85
↓ 2 callers
Method
set_common_m
Protocols/TrioShare.h:89
↓ 2 callers
Method
set_external_key
BMR/Register.cpp:68
↓ 2 callers
Method
set_fast_mode
Protocols/Replicated.hpp:217
↓ 2 callers
Function
set_global_instruction_type
(t)
Compiler/instructions_base.py:264
↓ 2 callers
Method
set_int128
Tools/BitVector.h:174
↓ 2 callers
Method
set_length
(self, n)
Compiler/GC/types.py:167
↓ 2 callers
Method
set_matrix_dim_from_options
FHE/FHE_Params.cpp:47
↓ 2 callers
Method
set_min_sec
FHE/FHE_Params.cpp:34
↓ 2 callers
Method
set_poly_mod
FHE/Plaintext.cpp:154
↓ 2 callers
Method
set_proc
Protocols/ReplicatedPrep.h:151
↓ 2 callers
Method
set_proc
Processor/Data_Files.h:163
↓ 2 callers
Method
set_ring_size
(self, ring_size)
Compiler/program.py:347
↓ 2 callers
Method
set_thread_stats
Processor/BaseMachine.cpp:336
↓ 2 callers
Method
set_vectorbase
(self, vectorbase)
Compiler/program.py:1854
↓ 2 callers
Method
setup_redirection
Processor/ProcessorBase.cpp:29
↓ 2 callers
Function
short_memcpy
Networking/data.h:21
↓ 2 callers
Method
shuffle_evict
Evict using oblivious shuffling etc
Compiler/path_oram.py:339
↓ 2 callers
Function
shuffle_triple_generation
Protocols/MalRepRingPrep.hpp:103
↓ 2 callers
Function
sign_benchmark
ECDSA/sign.hpp:132
↓ 2 callers
Method
size
ECDSA/P256Element.h:30
↓ 2 callers
Method
size
OT/Row.h:112
↓ 2 callers
Method
size
Tools/CheckVector.h:56
↓ 2 callers
Method
size
Tools/FixedVector.h:68
↓ 2 callers
Method
size_for_mem
(self)
Compiler/types.py:583
↓ 2 callers
Method
size_s
Processor/Memory.h:129
↓ 2 callers
Function
softmax_from_exp
(x)
Compiler/ml.py:186
↓ 2 callers
Function
source
(dest)
Scripts/process-tf.py:36
↓ 2 callers
Function
sqrRootMod
Math/bigint.hpp:80
↓ 2 callers
Function
ssin
(w, s)
Compiler/mpc_math.py:176
↓ 2 callers
Function
ssl_error
Networking/CryptoPlayer.cpp:18
↓ 2 callers
Method
start
(self)
Compiler/oram.py:1431
↓ 2 callers
Method
start
Networking/Sender.cpp:33
↓ 2 callers
Method
start_exchange
Protocols/Beaver.hpp:71
↓ 2 callers
Method
stop_exchange
Protocols/Beaver.hpp:77
↓ 2 callers
Method
store
(self, reg)
Compiler/instructions_base.py:555
↓ 2 callers
Method
store
(self, value)
ExternalIO/client.py:202
↓ 2 callers
Method
store_bytes
Tools/octetStream.cpp:152
↓ 2 callers
Method
store_in_dynamic_mem
(self, address)
Compiler/GC/types.py:342
↓ 2 callers
Method
store_spdz_wire
BMR/TrustedParty.cpp:297
↓ 2 callers
Function
stupid_dijkstra
(M, s, n_loops=None)
Compiler/dijkstra.py:546
↓ 2 callers
Method
swap
Tools/BitVector.h:135
↓ 2 callers
Method
temp_shape
(self)
Compiler/ml.py:2168
↓ 2 callers
Function
test_decision_tree
(name, layers, y, x, n_threads=None, time=False)
Compiler/decision_tree.py:510
↓ 2 callers
Method
to_array
(self)
Compiler/types.py:6839
↓ 2 callers
Function
to_bigint
Math/bigint.h:217
↓ 2 callers
Method
to_regint_by_bit
(self)
Compiler/GC/types.py:440
↓ 2 callers
Method
top_gear
Protocols/CowGearOptions.h:24
↓ 2 callers
Function
topological_sort
(G, nbunch=None, pref=None)
Compiler/graph.py:105
↓ 2 callers
Method
total_edabits
Processor/DataPositions.cpp:236
↓ 2 callers
Method
train
Train and return decision tree.
Compiler/decision_tree.py:422
↓ 2 callers
Method
train_layer
(self, k)
Compiler/decision_tree.py:364
↓ 2 callers
Method
trans_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 callers
Method
trunc
(self, a, k, m, signed)
Compiler/non_linear.py:48
↓ 2 callers
Function
trunc_pr
(x)
Programs/Source/export-trunc.py:2
↓ 2 callers
Method
trunc_pr_small_gap
Protocols/Astra.hpp:772
↓ 2 callers
Method
trunc_pr_warning
(self)
Compiler/program.py:725
↓ 2 callers
Function
trunc_zeros
(a, n_zeros, bit_length=None, **kwargs)
Compiler/util.py:44
↓ 2 callers
Method
type_check
(reg, type_id)
Compiler/instructions.py:511
↓ 2 callers
Function
unary_to_binary
(l)
Compiler/circuit_oram.py:82
↓ 2 callers
Function
unflatten
(S_flat)
Compiler/circuit.py:206
↓ 2 callers
Method
unpack
BMR/SpdzWire.h:30
↓ 2 callers
Method
unpack
FHEOffline/PairwiseMachine.cpp:122
↓ 2 callers
Method
unpack
FHE/Ring_Element.cpp:562
↓ 2 callers
Method
unpack
FHE/AddableVector.h:140
↓ 2 callers
Method
update
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 callers
Method
update
(self, value, prio, for_real=True)
Compiler/dijkstra.py:104
↓ 2 callers
Method
update
Update register. Useful in loops like :py:func:`~Compiler.library.for_range`. :param other: any convertible type
Compiler/program.py:1940
↓ 2 callers
Method
update_max_usage
(self, alloc_pool)
Compiler/allocator.py:278
↓ 2 callers
Method
update_usage
(self, alloc_pool)
Compiler/allocator.py:282
↓ 2 callers
Function
updatevector
(vector, index, value)
Compiler/dijkstra.py:522
↓ 2 callers
Method
use_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 callers
Method
value_cmp
Return 1 if both are non-empty and have the same value.
Compiler/path_oblivious_heap.py:213
↓ 2 callers
Function
vec_trans
GC/ShareSecret.hpp:325
← previous
next →
1,701–1,800 of 8,062, ranked by callers