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

#include <shared_bits_data.h>

Collaboration diagram for encrypto::motion::SharedBitsData:
Collaboration graph
[legend]

Public Member Functions

void MessageReceived (const SharedBitsMessageType type, const std::uint8_t *message, const std::size_t size)
 
void Clear ()
 
ReusableFuture< std::vector< std::uint8_t > > RegisterForMaskMessage (size_t expected_size)
 
ReusableFuture< std::vector< std::uint8_t > > RegisterForReconstructMessage (size_t expected_size)
 

Public Attributes

ReusablePromise< std::vector< std::uint8_t > > mask_message_promise
 
std::size_t mask_message_expected_size = 0
 
ReusablePromise< std::vector< std::uint8_t > > reconstruct_message_promise
 
std::size_t reconstruct_message_expected_size = 0
 

Member Function Documentation

◆ Clear()

void encrypto::motion::SharedBitsData::Clear ( )

◆ MessageReceived()

void encrypto::motion::SharedBitsData::MessageReceived ( const SharedBitsMessageType  type,
const std::uint8_t *  message,
const std::size_t  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegisterForMaskMessage()

ReusableFuture< std::vector< std::uint8_t > > encrypto::motion::SharedBitsData::RegisterForMaskMessage ( size_t  expected_size)
Here is the call graph for this function:

◆ RegisterForReconstructMessage()

ReusableFuture< std::vector< std::uint8_t > > encrypto::motion::SharedBitsData::RegisterForReconstructMessage ( size_t  expected_size)
Here is the call graph for this function:

Member Data Documentation

◆ mask_message_expected_size

std::size_t encrypto::motion::SharedBitsData::mask_message_expected_size = 0

◆ mask_message_promise

ReusablePromise<std::vector<std::uint8_t> > encrypto::motion::SharedBitsData::mask_message_promise

◆ reconstruct_message_expected_size

std::size_t encrypto::motion::SharedBitsData::reconstruct_message_expected_size = 0

◆ reconstruct_message_promise

ReusablePromise<std::vector<std::uint8_t> > encrypto::motion::SharedBitsData::reconstruct_message_promise

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