MOTION
0.01
Framework for mixed-protocol multi-party computation
|
std::vector< std::unique_ptr< Party > > MakeLocallyConnectedParties(const std::size_t number_of_parties, std::uint16_t, const bool)
constructs number_of_parties motion::Party's locally connected via TCP.
Definition: party.cpp:227
ShareWrapper Out(std::size_t output_owner=std::numeric_limits< std::int64_t >::max()) const
constructs an output gate, which reconstructs the cleartext result. The default parameter for the out...
Definition: share_wrapper.cpp:414
Definition: share_wrapper.h:44
Definition: bit_matrix.h:42
TEST_P(CommunicationLayerTest, Tcp)
Definition: test_communication_layer.cpp:95
static void TransposeUsingBitSlicing(std::array< std::byte *, 128 > &matrix, std::size_t number_of_columns)
Transposes a matrix of 128 rows and arbitrary column size inplace using BitSlicing.
Definition: bit_matrix.cpp:409
void AesniKeyExpansion128(void *round_keys_input)
Definition: aesni_primitives.cpp:55
std::vector< std::unique_ptr< CommunicationLayer > > MakeLocalTcpCommunicationLayers(std::size_t number_of_parties, bool ipv6)
Definition: communication_layer.cpp:526
std::vector< T > MultiplyVectors(std::vector< T > a, std::vector< T > b)
Multiplies each element in a and b and returns the result.
Definition: helpers.h:139
T SumReduction(const std::vector< T > &values)
Returns the sum of each element in values.
Definition: helpers.h:259
static BitVector SecureRandom(const std::size_t size) noexcept
Returns a random BitVector.
Definition: bit_vector.cpp:893
TEST(ArithmeticGmw, InputOutput_1_1K_Simd_2_3_4_5_10_parties)
Definition: test_agmw.cpp:37
constexpr auto kDetailedLoggingEnabled
Definition: test_constants.h:30
std::vector< T > AddVectors(const std::vector< T > &a, const std::vector< T > &b)
Adds each element in a and b and returns the result.
Definition: helpers.h:100
constexpr auto kNumberOfPartiesList
Definition: test_constants.h:32
constexpr std::size_t kAesBlockSize
Definition: aesni_primitives.h:29
T SubReduction(const std::vector< T > &values)
Returns the difference of each element in values.
Definition: helpers.h:278
void AesniMmoSingle(const void *round_keys_input, void *input)
Definition: aesni_primitives.cpp:280
std::vector< std::unique_ptr< CommunicationLayer > > MakeDummyCommunicationLayers(std::size_t number_of_parties)
Definition: communication_layer.cpp:503
static void Transpose128RowsInplace(std::array< std::byte *, 128 > &matrix, std::size_t number_of_columns)
Transposes a matrix of 128 rows and arbitrary column size inplace.
Definition: bit_matrix.cpp:252
Definition: message_handler.h:52
std::vector< T > RowMulReduction(const std::vector< std::vector< T >> &values)
Returns the product of each row in a matrix.
Definition: helpers.h:375
auto random_value
Definition: test_agmw.cpp:35
constexpr auto kTestIterations
Definition: test_constants.h:29
Definition: algorithm_description.cpp:35
auto GetSize() const noexcept
Get size of BitVector.
Definition: bit_vector.h:149
TEST(AesNi128, KeyExpansion)
Definition: test_aesni.cpp:31
std::shared_ptr< Share > SharePointer
Definition: conversion_gate.h:49
TEST(CommunicationLayer, Dummy)
Definition: test_communication_layer.cpp:30
bool Get(std::size_t position) const
Get bit at given position.
Definition: bit_vector.cpp:471
void AesniCtrStreamSingleBlock128Unaligned(const void *round_keys_input, std::uint64_t *counter, void *output)
Definition: aesni_primitives.cpp:214
INSTANTIATE_TEST_SUITE_P(CommunicationLayerTcpTests, CommunicationLayerTest, testing::Bool(), [](auto &info) { return info.param ? "ipv6" :"ipv4";})
Definition: test_communication_layer.cpp:93
static uint8_t equal(signed char b, signed char c)
Definition: mycurve25519.cpp:3971
Non-owning non-resizeable BitVector.
Definition: bit_vector.h:578
void AesniCtrStreamBlocks128Unaligned(const void *round_keys_input, std::uint64_t *counter_input_pointer, void *output_input_pointer, std::size_t number_of_blocks)
Definition: aesni_primitives.cpp:151
std::vector< T > RowSumReduction(const std::vector< std::vector< T >> &values)
Returns the sum of each row in a matrix.
Definition: helpers.h:317
void Append(bool bit) noexcept
Appends a bit to BitVector.
Definition: bit_vector.cpp:621
std::vector< T > RowSubReduction(const std::vector< std::vector< T >> &values)
Returns the difference of each row in a matrix.
Definition: helpers.h:346
SynchronizedQueue< std::vector< std::uint8_t > > & GetQueue()
Definition: message_handler.h:58
void AesniTmmoBatch4(const void *round_keys_input, void *input, __uint128_t tweak)
Definition: aesni_primitives.cpp:235
TEST(ObliviousTransfer, BaseOt)
Definition: test_base_ot.cpp:34
BitVector Subset(std::size_t from, std::size_t to) const
Returns a new BitVector containing the bits of this BitVector between positions from and to.
Definition: bit_vector.cpp:806
constexpr auto kPortOffset
Definition: test_constants.h:31
T MulReduction(const std::vector< T > &values)
Returns the product of each element in values.
Definition: helpers.h:294
TEST(BooleanGmw, InputOutput_1_1K_Simd_2_3_4_5_10_parties)
Definition: test_bgmw.cpp:35
void AesniCtrStreamBlocks128(const void *round_keys_input, std::uint64_t *counter_input_pointer, void *output_input_pointer, std::size_t number_of_blocks)
Definition: aesni_primitives.cpp:92