MOTION  0.01
Framework for mixed-protocol multi-party computation
Public Types | Public Member Functions | Public Attributes | List of all members
encrypto::motion::proto::bmr::Data Struct Reference

#include <bmr_data.h>

Collaboration diagram for encrypto::motion::proto::bmr::Data:
Collaboration graph
[legend]

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< Block128VectorRegisterForInputPublicKeys (std::size_t gate_id, std::size_t number_of_blocks)
 
ReusableFiberFuture< Block128VectorRegisterForGarbledRows (std::size_t gate_id, std::size_t number_of_blocks)
 

Public Attributes

std::unordered_map< std::size_t, InputPublicValueTypeinput_public_value_promises_
 
std::unordered_map< std::size_t, KeysTypeinput_public_key_promises_
 
std::unordered_map< std::size_t, GarbledRowsTypegarbled_rows_promises_
 

Member Typedef Documentation

◆ GarbledRowsType

◆ InputPublicValueType

◆ KeysType

Member Function Documentation

◆ MessageReceived()

void encrypto::motion::proto::bmr::Data::MessageReceived ( const std::uint8_t *  message,
const DataType  type,
const std::size_t  i 
)
Here is the caller graph for this function:

◆ RegisterForGarbledRows()

ReusableFiberFuture< Block128Vector > encrypto::motion::proto::bmr::Data::RegisterForGarbledRows ( std::size_t  gate_id,
std::size_t  number_of_blocks 
)
Here is the call graph for this function:

◆ RegisterForInputPublicKeys()

ReusableFiberFuture< Block128Vector > encrypto::motion::proto::bmr::Data::RegisterForInputPublicKeys ( std::size_t  gate_id,
std::size_t  number_of_blocks 
)
Here is the call graph for this function:

◆ RegisterForInputPublicValues()

ReusableFiberFuture< BitVector<> > encrypto::motion::proto::bmr::Data::RegisterForInputPublicValues ( std::size_t  gate_id,
std::size_t  bitlength 
)
Here is the call graph for this function:

◆ Reset()

void encrypto::motion::proto::bmr::Data::Reset ( )

Member Data Documentation

◆ garbled_rows_promises_

std::unordered_map<std::size_t, GarbledRowsType> encrypto::motion::proto::bmr::Data::garbled_rows_promises_

◆ input_public_key_promises_

std::unordered_map<std::size_t, KeysType> encrypto::motion::proto::bmr::Data::input_public_key_promises_

◆ input_public_value_promises_

std::unordered_map<std::size_t, InputPublicValueType> encrypto::motion::proto::bmr::Data::input_public_value_promises_

The documentation for this struct was generated from the following files: