MOTION
0.01
Framework for mixed-protocol multi-party computation
|
#include <bmr_data.h>
Public Types | |
using | InputPublicValueType = std::pair< std::size_t, ReusableFiberPromise< BitVector<> >> |
using | KeysType = std::pair< std::size_t, ReusableFiberPromise< Block128Vector > > |
using | GarbledRowsType = std::pair< std::size_t, ReusableFiberPromise< Block128Vector > > |
Public Member Functions | |
void | MessageReceived (const std::uint8_t *message, const DataType type, const std::size_t i) |
void | Reset () |
ReusableFiberFuture< BitVector<> > | RegisterForInputPublicValues (std::size_t gate_id, std::size_t bitlength) |
ReusableFiberFuture< Block128Vector > | RegisterForInputPublicKeys (std::size_t gate_id, std::size_t number_of_blocks) |
ReusableFiberFuture< Block128Vector > | RegisterForGarbledRows (std::size_t gate_id, std::size_t number_of_blocks) |
Public Attributes | |
std::unordered_map< std::size_t, InputPublicValueType > | input_public_value_promises_ |
std::unordered_map< std::size_t, KeysType > | input_public_key_promises_ |
std::unordered_map< std::size_t, GarbledRowsType > | garbled_rows_promises_ |
using encrypto::motion::proto::bmr::Data::GarbledRowsType = std::pair<std::size_t, ReusableFiberPromise<Block128Vector> > |
using encrypto::motion::proto::bmr::Data::InputPublicValueType = std::pair<std::size_t, ReusableFiberPromise<BitVector<> >> |
using encrypto::motion::proto::bmr::Data::KeysType = std::pair<std::size_t, ReusableFiberPromise<Block128Vector> > |
void encrypto::motion::proto::bmr::Data::MessageReceived | ( | const std::uint8_t * | message, |
const DataType | type, | ||
const std::size_t | i | ||
) |
ReusableFiberFuture< Block128Vector > encrypto::motion::proto::bmr::Data::RegisterForGarbledRows | ( | std::size_t | gate_id, |
std::size_t | number_of_blocks | ||
) |
ReusableFiberFuture< Block128Vector > encrypto::motion::proto::bmr::Data::RegisterForInputPublicKeys | ( | std::size_t | gate_id, |
std::size_t | number_of_blocks | ||
) |
ReusableFiberFuture< BitVector<> > encrypto::motion::proto::bmr::Data::RegisterForInputPublicValues | ( | std::size_t | gate_id, |
std::size_t | bitlength | ||
) |
void encrypto::motion::proto::bmr::Data::Reset | ( | ) |
std::unordered_map<std::size_t, GarbledRowsType> encrypto::motion::proto::bmr::Data::garbled_rows_promises_ |
std::unordered_map<std::size_t, KeysType> encrypto::motion::proto::bmr::Data::input_public_key_promises_ |
std::unordered_map<std::size_t, InputPublicValueType> encrypto::motion::proto::bmr::Data::input_public_value_promises_ |