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
↓ 4 callers
Method
long_one
(self)
Compiler/GC/types.py:223
↓ 4 callers
Function
make_array
(l, t=None)
Compiler/library.py:324
↓ 4 callers
Function
make_share
Protocols/fake-stuff.hpp:35
↓ 4 callers
Function
map_reduce
(n_threads, n_parallel, n_loops, initializer, reducer, \ thread_mem_req={}, looping=True, *
Compiler/library.py:1325
↓ 4 callers
Method
maybe_function
(cls, call, my_bits, other_bits, result_length=None)
Compiler/GC/types.py:1452
↓ 4 callers
Function
maybe_mulm
(res, x, y)
Compiler/comparison.py:67
↓ 4 callers
Method
min_p0
FHE/NoiseBounds.cpp:66
↓ 4 callers
Function
mpn_add_n_with_carry
Math/mpn_fixed.h:107
↓ 4 callers
Function
mul
Takes 8bit x and y and returns the 16 bit product in c1 and c0 ans = (c1<<8)^c0 where c1 and c0 are 8 bit */
Math/gf2n.cpp:198
↓ 4 callers
Function
mul
FHE/Rq_Element.cpp:95
↓ 4 callers
Function
mul16
Takes 16bit x and y and returns the 32 bit product in c1 and c0 ans = (c1<<16)^c0 where c1 and c0 are 16 bit */
Math/gf2n.cpp:209
↓ 4 callers
Method
multiply
Protocols/Replicated.hpp:130
↓ 4 callers
Method
my_astra_num
Protocols/Astra.h:111
↓ 4 callers
Method
n_swaps
(cls, n)
Compiler/instructions.py:2795
↓ 4 callers
Method
new
(value=None, n=None)
Compiler/GC/types.py:487
↓ 4 callers
Method
new_tape
Create a new tape from a function. See :py:func:`~Compiler.library.multithread` and :py:func:`~Compiler.library.for_range_opt
Compiler/program.py:358
↓ 4 callers
Method
open_input_file
Processor/ProcessorBase.cpp:19
↓ 4 callers
Method
partial_broadcast
Networking/Player.cpp:641
↓ 4 callers
Function
pick
(bits, x)
Compiler/decision_tree.py:474
↓ 4 callers
Method
pop_stack
Processor/Processor.hpp:1191
↓ 4 callers
Function
pprint_bytes
Tools/pprint.h:9
↓ 4 callers
Method
prep_compile
(self, name=None, build=True)
Compiler/compilerLib.py:458
↓ 4 callers
Method
prep_time
Processor/Processor.hpp:1231
↓ 4 callers
Method
prepare_mult
GC/Semi.cpp:17
↓ 4 callers
Method
prime_length
Processor/OnlineOptions.cpp:508
↓ 4 callers
Method
prime_limbs
Processor/OnlineOptions.cpp:516
↓ 4 callers
Method
print_left
Processor/PrepBase.cpp:55
↓ 4 callers
Function
process
(item, inputs, input_shape, args, kwargs={})
Compiler/ml.py:4347
↓ 4 callers
Method
public_input
GC/CcdShare.h:69
↓ 4 callers
Method
push_args
Processor/Processor.hpp:1183
↓ 4 callers
Method
push_stack
Processor/Processor.hpp:1176
↓ 4 callers
Method
rabbit_gap
(self)
Compiler/program.py:870
↓ 4 callers
Method
read_and_remove
(self, u)
Compiler/oram.py:1194
↓ 4 callers
Method
read_instructions
(tapename)
Compiler/program.py:1730
↓ 4 callers
Function
read_or_generate_secrets
FHEOffline/DataSetup.hpp:29
↓ 4 callers
Function
receive
ExternalIO/Client.h:42
↓ 4 callers
Method
receive_keys
BMR/Party.cpp:333
↓ 4 callers
Method
recv
Networking/Player.cpp:780
↓ 4 callers
Method
reduction
(self, batch_length=1)
Compiler/ml.py:2152
↓ 4 callers
Method
report_size
FHEOffline/SimpleMachine.cpp:351
↓ 4 callers
Method
report_size
FHEOffline/Multiplier.cpp:113
↓ 4 callers
Method
resize_min
GC/Memory.h:85
↓ 4 callers
Method
reveal
(self)
Compiler/GC/types.py:431
↓ 4 callers
Method
ring_size_from_opts_or_schedule
Processor/RingOptions.cpp:31
↓ 4 callers
Method
ripple_carry_adder
(*args, **kwargs)
Compiler/types.py:380
↓ 4 callers
Method
run
Run training. :param batch_size: batch size (defaults to example size of first layer) :param stop_on_loss: stop when loss falls belo
Compiler/ml.py:3540
↓ 4 callers
Method
run
GC/Thread.hpp:52
↓ 4 callers
Method
sacrifice
FHEOffline/Producer.cpp:198
↓ 4 callers
Method
secret_op
(self, other, s_inst, m_inst, si_inst, reverse=False)
Compiler/types.py:2398
↓ 4 callers
Function
secure_init
Protocols/HemiPrep.hpp:37
↓ 4 callers
Method
seekg
Tools/Buffer.cpp:35
↓ 4 callers
Function
send_if_ot_sender
OT/BaseOT.cpp:47
↓ 4 callers
Function
send_non_blocking
Networking/sockets.h:46
↓ 4 callers
Function
series
(a)
Compiler/util.py:74
↓ 4 callers
Method
set_byte
Tools/BitVector.h:162
↓ 4 callers
Method
set_learning_rate
(self, lr)
Compiler/ml.py:3327
↓ 4 callers
Method
set_num_players
Processor/DataPositions.cpp:29
↓ 4 callers
Function
sigmoid
Sigmoid function. :param x: sfix
Compiler/ml.py:93
↓ 4 callers
Method
size
Protocols/edabit.h:62
↓ 4 callers
Method
size
Processor/Memory.h:70
↓ 4 callers
Method
skip
(self, skip)
Compiler/oram.py:308
↓ 4 callers
Method
skip
Processor/Data_Files.hpp:291
↓ 4 callers
Function
sort
(a)
Compiler/library.py:779
↓ 4 callers
Method
split_to_two_summands
(self, length, get_carry=False)
Compiler/types.py:3110
↓ 4 callers
Method
sqrRoot
Math/gfp.hpp:165
↓ 4 callers
Method
start_online
Processor/ThreadQueue.cpp:125
↓ 4 callers
Method
stop_online
Processor/ThreadQueue.cpp:135
↓ 4 callers
Method
to_vec_bigint
FHE/Rq_Element.cpp:132
↓ 4 callers
Method
trans
(cls, rows)
Compiler/GC/types.py:675
↓ 4 callers
Method
traverse
(self, batch, process)
Compiler/ml.py:1403
↓ 4 callers
Method
unpack
FHEOffline/PairwiseSetup.cpp:159
↓ 4 callers
Method
update
(self, i_epoch, i_batch, batch)
Compiler/ml.py:3490
↓ 4 callers
Method
upper
Processor/TruncPrTuple.h:75
↓ 4 callers
Method
usage_unknown
Processor/Program.h:55
↓ 4 callers
Method
wait
Tools/Signal.cpp:30
↓ 4 callers
Function
write
(reg, n)
Compiler/allocator.py:327
↓ 4 callers
Method
write
(self, index: T, *value: T)
Compiler/sqrt_oram.py:261
↓ 4 callers
Function
write_mac_key
Protocols/fake-stuff.hpp:245
↓ 4 callers
Method
write_socket
Processor/Processor.hpp:271
↓ 3 callers
Function
BitLTL
res = a <? b (logarithmic rounds version) a: clear integer register b: array of secret bits (same length as a)
Compiler/comparison.py:503
↓ 3 callers
Method
Check_Broadcast
Networking/Player.cpp:590
↓ 3 callers
Function
Commit_To_Seeds
Tools/Subroutines.cpp:195
↓ 3 callers
Function
FFT_Iter2_body
FHE/FFT.h:44
↓ 3 callers
Method
Gen_Random_Data
* Generate the random data used in key generation */
FHEOffline/DistKeyGen.cpp:107
↓ 3 callers
Function
HNF
Uses Algorithm 2.7 from Pohst-Zassenhaus to compute H and U st H = HNF(A) = A*U */
FHE/Matrix.cpp:68
↓ 3 callers
Function
KORL
log rounds k-ary OR
Compiler/floatingpoint.py:241
↓ 3 callers
Method
KeyGen
FHE/FHE_Keys.cpp:60
↓ 3 callers
Function
MaskingBitsInRing
(m, strict=False)
Compiler/comparison.py:306
↓ 3 callers
Function
Open
Special version for octetStreams
Tools/Subroutines.cpp:38
↓ 3 callers
Function
Pow2
(a, l)
Compiler/floatingpoint.py:363
↓ 3 callers
Function
PreMulC_end
Helper function for all PreMulC variants. Local operation.
Compiler/comparison.py:632
↓ 3 callers
Function
PreMulC_without_inverses
Plain variant with no extra preprocessing.
Compiler/comparison.py:588
↓ 3 callers
Function
PreOR
(a=None, raw=False)
Compiler/floatingpoint.py:226
↓ 3 callers
Function
PreOpL
Uses algorithm from SecureSCM WP9 deliverable. op must be a binary function that outputs a new register
Compiler/floatingpoint.py:145
↓ 3 callers
Method
Register
BMR/Register_inline.h:12
↓ 3 callers
Function
Reshare
FHEOffline/Reshare.cpp:10
↓ 3 callers
Method
Sub_Main_Func
Processor/Online-Thread.hpp:35
↓ 3 callers
Method
Thread
GC/Thread.hpp:31
↓ 3 callers
Function
TruncInRing
(to_shift, l, pow2m)
Compiler/floatingpoint.py:467
↓ 3 callers
Method
TruncMul
(self, other, k, m, nearest=False)
Compiler/types.py:3023
← previous
next →
901–1,000 of 8,062, ranked by callers