MCPcopy Create free account

hub / github.com/data61/MP-SPDZ / types & classes

Types & classes1,823 in github.com/data61/MP-SPDZ

↓ 189 callersClassCompilerError
Base class for compiler exceptions.
Compiler/exceptions.py:1
↓ 124 callersClassnot_implemented
Tools/Exceptions.h:12
↓ 112 callersClassMemValue
Single value in memory. This is useful to transfer information between threads. Operations are automatically read from memory if required, th
Compiler/types.py:7898
↓ 111 callersClasscint
Clear integer in same domain as secure computation (depends on protocol). A number operators are supported (``+, -, *, /, //, **, %, ^, &
Compiler/types.py:1084
↓ 110 callersClassregint
Clear 64-bit integer. Unlike :py:class:`cint` this is always a 64-bit integer. The type supports the following operations with :py:class:
Compiler/types.py:1554
↓ 100 callersClasssint
r""" Secret integer in the protocol-specific domain. It supports operations with :py:class:`sint`, :py:class:`cint`, :py:class:`regint`, a
Compiler/types.py:2539
↓ 79 callersClasscls
Compiler/GC/types.py:1613
↓ 47 callersClassArray
Array accessible by public index. That is, ``a[i]`` works for an array ``a`` and ``i`` being a :py:class:`regint`, :py:class:`cint`, or a
Compiler/types.py:6046
↓ 47 callersClassbigint
* Type for arbitrarily large integers. * This is a sub-class of ``mpz_class`` from GMP. As such, it implements * all integers operations and input/o
Math/bigint.h:47
↓ 44 callersClassT
Protocols/HemiPrep.hpp:41
↓ 36 callersClassTensor
Compiler/ml.py:223
↓ 32 callersClassMultiArray
Multidimensional array. The access operator (``a[i]``) allows to a multi-dimensional array of dimension one less or a simple array for a
Compiler/types.py:7705
↓ 27 callersClassEntry
An (O)RAM entry with empty bit, index, and value.
Compiler/oram.py:323
↓ 25 callersClassComm
Compiler/cost.py:15
↓ 25 callersClassValueTuple
Works like a vector.
Compiler/oram.py:306
↓ 24 callersClassint128
Math/gf2n.h:19
↓ 22 callersClassfile_error
Tools/Exceptions.h:106
↓ 22 callersClassmovs
Copy secret register (vector). :param: destination (cint) :param: source (cint)
Compiler/instructions.py:275
↓ 21 callersClassMatrix
Matrix. :param rows: compile-time (int) :param columns: compile-time (int) :param value_type: basic type of entries Matrices aren't
Compiler/types.py:7758
↓ 20 callersClassProcessor_Error
Tools/Exceptions.h:151
↓ 20 callersClasscfix
Clear fixed-point number represented as clear integer. It supports basic arithmetic (``+, -, *, /``), returning either :py:class:`cfix` i
Compiler/types.py:4100
↓ 19 callersClasstime
Output time since start of computation.
Compiler/instructions.py:380
↓ 18 callersClassExtInt
Compiler/dijkstra.py:399
↓ 18 callersClassValue
Compiler/oram.py:254
↓ 18 callersClassinvalid_length
Tools/Exceptions.h:44
↓ 18 callersClassparams_mismatch
Tools/Exceptions.h:32
↓ 18 callersClasssfix
Secret fixed-point number represented as secret integer, by multiplying with ``2^f`` and then rounding. See :py:class:`sint` for security con
Compiler/types.py:5039
↓ 16 callersClassAdd
Fixed-point addition layer. :param inputs: two input layers with same shape (tuple/list)
Compiler/ml.py:1550
↓ 16 callersClassRing_Element
FHE/Ring_Element.h:28
↓ 16 callersClasscgf2n
r""" Clear :math:`\mathrm{GF}(2^n)` value. n is chosen at runtime. A number operators are supported (``+, -, *, /, **, ^, &, |, ~, ==, !=
Compiler/types.py:1416
↓ 14 callersClassadds
Secret addition. :param: result (sint) :param: summand (sint) :param: summand (sint)
Compiler/instructions.py:629
↓ 13 callersClasssbitvec
Vector of registers of secret bits, effectively a matrix of secret bits. This facilitates parallel arithmetic operations in binary circuits.
Compiler/GC/types.py:713
↓ 12 callersClassasm_open
Reveal secret registers (vectors) to clear registers (vectors). :param: number of argument to follow (odd number) :param: check after openin
Compiler/instructions.py:2450
↓ 12 callersClassbad_value
Tools/Exceptions.h:82
↓ 12 callersClasspersonal
Value known to one player. Supports operations with public values and personal values known to the same player. Can be used with :py:func:`~C
Compiler/types.py:1955
↓ 11 callersClassDense
Fixed-point dense (matrix multiplication) layer. Supports inputs of size [N, d, d_in] to map to [N, d, d_out]. If d > 1, the layer behaves li
Compiler/ml.py:838
↓ 11 callersClassRange
Processor/TruncPrTuple.h:22
↓ 11 callersClassfield_mismatch
Tools/Exceptions.h:36
↓ 11 callersClassint128
Math/gf2nlong.h:24
↓ 11 callersClassinvalid_commitment
Tools/Exceptions.h:49
↓ 11 callersClasssfloat
r""" Secret floating-point number. Represents :math:`(1 - 2s) \cdot (1 - z)\cdot v \cdot 2^p`. v: significand p: exp
Compiler/types.py:5492
↓ 10 callersClassArgumentError
Exception raised for errors in instruction argument parsing.
Compiler/exceptions.py:11
↓ 10 callersClassRefBucket
Bucket for tree ORAM. Contains an ORAM of some type and possibly two children.
Compiler/oram.py:951
↓ 10 callersClassinvalid_params
Tools/Exceptions.h:78
↓ 10 callersClassmac_fail
Tools/Exceptions.h:93
↓ 10 callersClassprint_reg
Debugging output of clear register (vector). :param: source (cint) :param: comment (4 bytes / 1 unit)
Compiler/instructions.py:1734
↓ 9 callersClassIO_Error
Tools/Exceptions.h:54
↓ 9 callersClassOffline_Check_Error
Tools/Exceptions.h:87
↓ 9 callersClassSubtreeMinEntry
Compiler/path_oblivious_heap.py:172
↓ 9 callersClassZ
ExternalIO/domains.py:54
↓ 9 callersClassoctetStream
ExternalIO/client.py:172
↓ 9 callersClasspr_mismatch
Tools/Exceptions.h:28
↓ 9 callersClasssbit
Single secret bit.
Compiler/GC/types.py:1141
↓ 8 callersClassInteger
Math/bigint.h:30
↓ 8 callersClassRq_Element
FHE/Plaintext.h:28
↓ 8 callersClassbad_enccommit
Tools/Exceptions.h:74
↓ 8 callersClassoverflow
Tools/Exceptions.h:241
↓ 8 callersClassrep_mismatch
Tools/Exceptions.h:24
↓ 8 callersClasssplit
Local share conversion. This instruction use the vector length in the instruction code field. :param: number of arguments to follow (number
Compiler/GC/instructions.py:545
↓ 8 callersClasst
Compiler/types.py:7229
↓ 7 callersClassBitAdder
GC/BitAdder.h:12
↓ 7 callersClassBitLeftRange
Tools/ranges.h:64
↓ 7 callersClassRAM
List of entries in memory.
Compiler/oram.py:474
↓ 7 callersClassbit
Compiler/GC/types.py:1115
↓ 7 callersEnumcondition
FHE/Plaintext.h:40
↓ 7 callersClasslevel_mismatch
Tools/Exceptions.h:40
↓ 7 callersClassmuls
(Element-wise) multiplication of secret registers (vectors). :param: number of arguments to follow (multiple of four) :param: vector size (i
Compiler/instructions.py:2478
↓ 7 callersClassrand
Store insecure random value of specified length in clear integer register (vector). :param: destination (regint) :param: length (regint)
Compiler/instructions.py:2136
↓ 7 callersClasssgf2n
r""" Secret :math:`\mathrm{GF}(2^n)` value. n is chosen at runtime. A number operators are supported (``+, -, *, /, **, ^, ~, ==, !=, <<`
Compiler/types.py:3355
↓ 7 callersClasssintbit
:py:class:`sint` holding a bit, supporting binary operations (``&, |, ^``).
Compiler/types.py:3287
↓ 6 callersClassCiphertext
FHE/FHE_Keys.h:13
↓ 6 callersClassCowGearOptions
Protocols/CowGearOptions.h:11
↓ 6 callersClassbad_keygen
Tools/Exceptions.h:69
↓ 6 callersClassmulm
Multiply secret and clear value. :param: result (sint) :param: factor (sint) :param: factor (cint)
Compiler/instructions.py:794
↓ 6 callersClassshrsi
Bitwise right shift of secret register (vector) by (constant) immediate value. This only makes sense in connection with protocols allowing lo
Compiler/instructions.py:1218
↓ 6 callersClassstart
Start timer. :param: timer number (int)
Compiler/instructions.py:386
↓ 6 callersClassthreshold
Store maximal number of corrupt players in clear integer register. :param: destination (regint)
Compiler/instructions.py:594
↓ 5 callersClassAdam
Adam/AMSgrad optimizer. :param layers: layers of linear graph :param approx: use approximation for inverse square root (bool) :param ams
Compiler/ml.py:3879
↓ 5 callersClassBlockRange
Tools/ranges.h:10
↓ 5 callersClassCounter
Compiler/path_oram.py:17
↓ 5 callersClassFHE_PK
FHE/FHE_Keys.h:12
↓ 5 callersClassFHE_SK
* BGV secret key. * The class allows addition. */
FHE/FHE_Keys.h:19
↓ 5 callersClassKey
BMR/Key.h:18
↓ 5 callersClassNamedTuple
Compiler/types.py:8049
↓ 5 callersClassVectorArray
Compiler/dijkstra.py:477
↓ 5 callersClassaddm
Mixed addition. :param: result (sint) :param: summand (sint) :param: summand (cint)
Compiler/instructions.py:642
↓ 5 callersClasscbit
Compiler/GC/types.py:1161
↓ 5 callersClassdefaultdict_by_id
Compiler/util.py:300
↓ 5 callersClassieee_float
This gives access IEEE754 floating-point operations using Bristol Fashion circuits. The following example computes the standard deviation
Compiler/circuit.py:305
↓ 5 callersClassincint
Create incremental clear integer vector. For example, vector size 10, base 1, increment 2, repeat 3, and wrap 2 produces the following::
Compiler/instructions.py:2225
↓ 5 callersClassldi
Assign (constant) immediate value to clear register (vector). :param: destination (cint) :param: value (int)
Compiler/instructions.py:39
↓ 5 callersClassoctetStream
OT/BitMatrix.h:20
↓ 5 callersClasspicks
Extract part of vector. :param: result (sint) :param: input (sint) :param: start offset (int) :param: step
Compiler/instructions.py:717
↓ 5 callersClassrun_tape
Start tape/bytecode file in another thread. :param: number of arguments to follow (multiple of three) :param: virtual machine thread number
Compiler/instructions.py:472
↓ 5 callersClasssetup_error
Tools/Exceptions.h:291
↓ 5 callersClassshuffle
Randomly shuffles clear integer vector with public randomness. :param: destination (regint) :param: source (regint)
Compiler/instructions.py:2253
↓ 4 callersClassBitVector
OT/BitMatrix.h:17
↓ 4 callersClassDropout
Dropout layer. :param N: number of examples :param shape: list [N, ...] where N is the number of examples and an arbitrary amount of further
Compiler/ml.py:1072
↓ 4 callersEnumDtype
Math/field_types.h:12
↓ 4 callersClassFixAveragePool2d
Fixed-point 2D AvgPool layer. :param input_shape: input shape (tuple/list of four int) :param output_shape: output shape (tuple/list of four
Compiler/ml.py:2606
next →1–100 of 1,823, ranked by callers