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
↓ 3 callers
Method
__init__
(self, data: T | MultiArray, entry_length: int = 1, value_type: Type[T] = sint, k: int = 0, period: int | None
Compiler/sqrt_oram.py:76
↓ 3 callers
Method
__init__
(self, function, name=None, compile_args=[])
Compiler/library.py:349
↓ 3 callers
Method
_check_input_player
(player)
Compiler/GC/types.py:501
↓ 3 callers
Function
_complement_two_extend
(bits, k)
Compiler/GC/types.py:1215
↓ 3 callers
Method
_div_san
(self)
Compiler/types.py:2053
↓ 3 callers
Method
_expand_address
(address, size)
Compiler/types.py:774
↓ 3 callers
Method
_get_empty_entry
(self)
Compiler/path_oblivious_heap.py:689
↓ 3 callers
Method
_get_instructions
(self)
Compiler/program.py:1461
↓ 3 callers
Method
_get_random_leaf_label
(self)
Compiler/path_oblivious_heap.py:777
↓ 3 callers
Method
_get_reversed_min_indices_and_children_on_path_to
Returns a list from leaf to root of tuples of (index, left_child, right_child). Used for update_min. Note that leaf label bits are use
Compiler/path_oblivious_heap.py:742
↓ 3 callers
Function
_get_type
(t)
Compiler/types.py:5984
↓ 3 callers
Method
_set_subtree_min
Sets the subtree-min of the bucket with the specified index to the specified entry. Index defaults to stash (-1).
Compiler/path_oblivious_heap.py:700
↓ 3 callers
Function
accept_client_connection
Accept client connection on specific port base. :param port: port base (int/regint/cint) :param players: subset of players (default: all)
Compiler/library.py:1942
↓ 3 callers
Method
access
(self, index, new_value, write, new_empty=False)
Compiler/oram.py:498
↓ 3 callers
Method
activate
BMR/Register.h:212
↓ 3 callers
Method
add
GC/BitAdder.hpp:16
↓ 3 callers
Method
add_before
Processor/TruncPrTuple.h:85
↓ 3 callers
Method
add_node
(self, i, **attr)
Compiler/graph.py:44
↓ 3 callers
Method
add_other
GC/VectorInput.h:47
↓ 3 callers
Function
aes_128_schedule
Tools/aes.h:18
↓ 3 callers
Method
allocate
OT/BaseOT.cpp:115
↓ 3 callers
Method
append_no_resize
Tools/octetStream.h:376
↓ 3 callers
Method
apply_challenge
FHEOffline/Proof.h:136
↓ 3 callers
Function
areEqual
Math/modp.hpp:82
↓ 3 callers
Method
assign_one
FHE/Plaintext.cpp:281
↓ 3 callers
Method
assign_slice_vector
(self, slice, vector, **kwargs)
Compiler/types.py:6385
↓ 3 callers
Method
assign_vector_by_indices
(self, *args)
Compiler/ml.py:244
↓ 3 callers
Method
backward
Compute backward propagation.
Compiler/ml.py:3431
↓ 3 callers
Method
batch_for
(self, layer, batch)
Compiler/ml.py:3338
↓ 3 callers
Method
batch_init
(self, values)
Compiler/oram.py:1022
↓ 3 callers
Method
begin
Processor/TruncPrTuple.h:34
↓ 3 callers
Method
bit_adder
Binary adder in binary circuits. :param a: summand (list of 0/1 in compatible type) :param b: summand (list of 0/1 in compatible typ
Compiler/GC/types.py:697
↓ 3 callers
Method
bit_dec
(self, a, k, m, maybe_mixed=False)
Compiler/non_linear.py:177
↓ 3 callers
Function
bits_from_square_in_ring
Protocols/Spdz2kPrep.hpp:87
↓ 3 callers
Method
branch
Protocols/Rep4.hpp:68
↓ 3 callers
Method
buffer_dabits_without_check
Protocols/ReplicatedPrep.hpp:735
↓ 3 callers
Method
buffer_sedabits_from_edabits
Protocols/ReplicatedPrep.hpp:1016
↓ 3 callers
Method
cast
(self, n)
Compiler/GC/types.py:1226
↓ 3 callers
Method
check
(self, found=None, index=None, new_entry=None, op='')
Compiler/oram.py:644
↓ 3 callers
Method
check
GC/ShareThread.hpp:85
↓ 3 callers
Method
check
ECDSA/CurveElement.cpp:61
↓ 3 callers
Method
check
FHEOffline/DataSetup.cpp:182
↓ 3 callers
Method
check
* Run all protocol checks */
Protocols/ProtocolSet.h:62
↓ 3 callers
Method
check_args
Check the args match up with that specified in arg_format
Compiler/instructions_base.py:1072
↓ 3 callers
Function
check_pk_id
FHE/Ciphertext.cpp:20
↓ 3 callers
Method
check_sum
Tools/octetStream.cpp:112
↓ 3 callers
Function
cisc
(function, n_outputs=1)
Compiler/instructions_base.py:445
↓ 3 callers
Method
close_scope
(self, outer_scope, parent_req_node, name)
Compiler/program.py:1706
↓ 3 callers
Method
coerce
(self, other)
Compiler/types.py:5355
↓ 3 callers
Method
common_m
Protocols/TrioShare.h:84
↓ 3 callers
Method
comp_result
(cls, x)
Compiler/GC/types.py:1060
↓ 3 callers
Method
compile_file
Compile a file and output a Program object. If options.merge_opens is set to True, will attempt to merge any parallelisable open inst
Compiler/compilerLib.py:470
↓ 3 callers
Method
compose
(cls, items, bit_length=1)
Compiler/GC/types.py:74
↓ 3 callers
Function
convert_ns_to_seconds
Tools/time-func.cpp:39
↓ 3 callers
Method
copy
(self)
Compiler/program.py:1925
↓ 3 callers
Method
copy
(self)
Compiler/GC/types.py:165
↓ 3 callers
Function
cpu_has_avx2
Tools/cpu_support.h:42
↓ 3 callers
Method
data
(self)
Compiler/dijkstra.py:28
↓ 3 callers
Function
decode_length
Networking/data.h:49
↓ 3 callers
Method
decrypt
FHE/FHE_Keys.cpp:209
↓ 3 callers
Method
default_bit_length
()
Compiler/types.py:3020
↓ 3 callers
Function
dijkstra
Securely compute Dijstra's algorithm on a secret graph. See :download:`../Programs/Source/dijkstra_example.mpc` for an explanation of the req
Compiler/dijkstra.py:231
↓ 3 callers
Method
direct_matrix_mul
(cls, A, B, n, m, l, reduce=True, indices=None)
Compiler/types.py:5110
↓ 3 callers
Method
dispatch
Yao/YaoAndJob.h:51
↓ 3 callers
Method
done
BMR/Party.cpp:190
↓ 3 callers
Method
dot
Matrix-matrix and matrix-vector multiplication. :param self: two-dimensional :param other: Matrix or Array of matching size and type
Compiler/types.py:7201
↓ 3 callers
Method
elapsed_since_last_start
Tools/time-func.h:107
↓ 3 callers
Method
eliminate_dead_code
(self, only_ldint=False)
Compiler/allocator.py:758
↓ 3 callers
Method
empty_entry
(self, apply_type=True)
Compiler/path_oram.py:335
↓ 3 callers
Method
end
(self)
Compiler/library.py:1904
↓ 3 callers
Method
evaluate
OT/OTVole.hpp:10
↓ 3 callers
Method
evict_bucket
(self, bucket, d)
Compiler/oram.py:1117
↓ 3 callers
Method
exchange
Networking/Player.cpp:482
↓ 3 callers
Method
execute
Processor/Instruction.hpp:960
↓ 3 callers
Method
expand
Expand this into a sequence of RISC instructions.
Compiler/instructions_base.py:1488
↓ 3 callers
Function
expand_byte
Expansion is by x=y^5+1 (as we embed GF(256) into GF(2^40)
Math/gf2n.cpp:511
↓ 3 callers
Method
extend_correlated
OT/OTExtensionWithMatrix.cpp:266
↓ 3 callers
Method
filename
Processor/Binary_File_IO.hpp:34
↓ 3 callers
Method
fill
BMR/Register.h:210
↓ 3 callers
Method
finalize
FHEOffline/DistKeyGen.cpp:183
↓ 3 callers
Method
finalize_mul
Protocols/SpdzWise.hpp:63
↓ 3 callers
Method
finalize_mult
GC/VectorProtocol.hpp:58
↓ 3 callers
Function
find_in_dict
(d, v)
Compiler/util.py:243
↓ 3 callers
Function
first_phase
Utils/he-example.cpp:25
↓ 3 callers
Function
format_str_is_writeable
(format_str)
Compiler/instructions_base.py:1010
↓ 3 callers
Method
from_poly
FHE/Plaintext.cpp:59
↓ 3 callers
Method
full_block_output_range
GC/ShareThread.hpp:147
↓ 3 callers
Function
full_secrets_filename
FHEOffline/DataSetup.hpp:13
↓ 3 callers
Function
gcd
Math/bigint.h:246
↓ 3 callers
Method
generate
FHEOffline/PairwiseSetup.cpp:142
↓ 3 callers
Method
generatePlainTriples
OT/NPartyTripleGenerator.hpp:538
↓ 3 callers
Function
generate_modulus
FHE/NTL-Subs.cpp:276
↓ 3 callers
Method
generate_setup
FHEOffline/DataSetup.cpp:40
↓ 3 callers
Method
get
Math/gfpvar.cpp:178
↓ 3 callers
Method
get
Tools/BitVector.h:149
↓ 3 callers
Method
get_all
(self)
Compiler/program.py:1901
↓ 3 callers
Function
get_bit
Math/square128.cpp:22
↓ 3 callers
Method
get_bit
GC/TinySecret.h:173
↓ 3 callers
Method
get_buffer_size
Protocols/Beaver.h:60
↓ 3 callers
Method
get_code
(self, prefix=0)
Compiler/instructions_base.py:1054
← previous
next →
1,001–1,100 of 8,062, ranked by callers