MOTION  0.01
Framework for mixed-protocol multi-party computation
Public Member Functions | Public Attributes | List of all members
encrypto::motion::HelloMessageHandler Struct Reference
Inheritance diagram for encrypto::motion::HelloMessageHandler:
Inheritance graph
[legend]
Collaboration diagram for encrypto::motion::HelloMessageHandler:
Collaboration graph
[legend]

Public Member Functions

 HelloMessageHandler (std::size_t number_of_parties, std::shared_ptr< Logger > logger)
 
void ReceivedMessage (std::size_t party_id, std::vector< std::uint8_t > &&message) override
 
ReusableFuture< std::vector< std::uint8_t > > GetRandomnessSharingSeedFuture ()
 
- Public Member Functions inherited from encrypto::motion::communication::MessageHandler
virtual ~MessageHandler ()=default
 

Public Attributes

std::shared_ptr< Loggerlogger_
 
std::vector< ReusablePromise< std::vector< std::uint8_t > > > fixed_key_aes_seed_promises
 
std::vector< ReusableFuture< std::vector< std::uint8_t > > > fixed_key_aes_seed_futures
 
std::vector< ReusablePromise< std::vector< std::uint8_t > > > randomness_sharing_seed_promises
 
std::vector< ReusableFuture< std::vector< std::uint8_t > > > randomness_sharing_seed_futures
 

Constructor & Destructor Documentation

◆ HelloMessageHandler()

encrypto::motion::HelloMessageHandler::HelloMessageHandler ( std::size_t  number_of_parties,
std::shared_ptr< Logger logger 
)
inline

Member Function Documentation

◆ GetRandomnessSharingSeedFuture()

ReusableFuture<std::vector<std::uint8_t> > encrypto::motion::HelloMessageHandler::GetRandomnessSharingSeedFuture ( )

◆ ReceivedMessage()

void encrypto::motion::HelloMessageHandler::ReceivedMessage ( std::size_t  party_id,
std::vector< std::uint8_t > &&  message 
)
overridevirtual

Implements encrypto::motion::communication::MessageHandler.

Here is the call graph for this function:

Member Data Documentation

◆ fixed_key_aes_seed_futures

std::vector<ReusableFuture<std::vector<std::uint8_t> > > encrypto::motion::HelloMessageHandler::fixed_key_aes_seed_futures

◆ fixed_key_aes_seed_promises

std::vector<ReusablePromise<std::vector<std::uint8_t> > > encrypto::motion::HelloMessageHandler::fixed_key_aes_seed_promises

◆ logger_

std::shared_ptr<Logger> encrypto::motion::HelloMessageHandler::logger_

◆ randomness_sharing_seed_futures

std::vector<ReusableFuture<std::vector<std::uint8_t> > > encrypto::motion::HelloMessageHandler::randomness_sharing_seed_futures

◆ randomness_sharing_seed_promises

std::vector<ReusablePromise<std::vector<std::uint8_t> > > encrypto::motion::HelloMessageHandler::randomness_sharing_seed_promises

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