MOTION
0.01
Framework for mixed-protocol multi-party computation
|
Go to the documentation of this file.
29 #include <boost/container/vector.hpp>
48 std::vector<std::array<std::byte, 32>>
S;
66 std::vector<std::array<std::byte, 32>>
R;
79 const std::size_t ot_id = 0);
BaseOtReceiverData()
Definition: base_ot_data.cpp:30
std::array< std::array< std::byte, 16 >, 128 > messages_0
Definition: base_ot_data.h:63
Definition: base_ot_data.h:77
BitVector c
Definition: base_ot_data.h:45
Definition: base_ot_data.h:59
boost::container::vector< bool > received_R
Definition: base_ot_data.h:67
std::unique_ptr< FiberCondition > is_ready_condition
Definition: base_ot_data.h:56
BaseOtDataType
Definition: base_ot_data.h:39
type
Definition: geninput.py:149
std::unique_ptr< FiberCondition > is_ready_condition
Definition: base_ot_data.h:73
std::vector< std::unique_ptr< FiberCondition > > received_S_condition
Definition: base_ot_data.h:50
std::atomic< bool > is_ready
Definition: base_ot_data.h:55
std::vector< std::unique_ptr< FiberCondition > > received_R_condition
Definition: base_ot_data.h:68
std::array< std::array< std::byte, 16 >, 128 > messages_1
Definition: base_ot_data.h:64
std::atomic< bool > is_ready
Definition: base_ot_data.h:74
@ kHL17R
Definition: base_ot_data.h:39
~BaseOtReceiverData()=default
BaseOtSenderData sender_data
Definition: base_ot_data.h:87
Definition: algorithm_description.cpp:35
std::vector< std::array< std::byte, 32 > > S
Definition: base_ot_data.h:48
boost::container::vector< bool > received_S
Definition: base_ot_data.h:49
@ kHL17S
Definition: base_ot_data.h:39
Definition: base_ot_data.h:41
std::size_t consumed_offset
Definition: base_ot_data.h:53
@ kBaseOtInvalidDataType
Definition: base_ot_data.h:39
void MessageReceived(const std::uint8_t *message, const BaseOtDataType type, const std::size_t ot_id=0)
Definition: base_ot_data.cpp:50
const BaseOtReceiverData & GetReceiverData() const
Definition: base_ot_data.h:82
const BaseOtSenderData & GetSenderData() const
Definition: base_ot_data.h:84
~BaseOtSenderData()=default
std::array< std::array< std::byte, 16 >, 128 > messages_c
choice bits
Definition: base_ot_data.h:46
BaseOtSenderData & GetSenderData()
Definition: base_ot_data.h:83
std::size_t consumed_offset
Definition: base_ot_data.h:71
BaseOtReceiverData & GetReceiverData()
Definition: base_ot_data.h:81
std::vector< std::array< std::byte, 32 > > R
Definition: base_ot_data.h:66
BaseOtReceiverData receiver_data
Definition: base_ot_data.h:86
BaseOtSenderData()
Definition: base_ot_data.cpp:40