MOTION  0.01
Framework for mixed-protocol multi-party computation
Classes | Public Member Functions | List of all members
encrypto::motion::OtHL17 Class Referencefinal

#include <ot_hl17.h>

Inheritance diagram for encrypto::motion::OtHL17:
Inheritance graph
[legend]
Collaboration diagram for encrypto::motion::OtHL17:
Collaboration graph
[legend]

Public Member Functions

 OtHL17 (std::function< void(flatbuffers::FlatBufferBuilder &&)> send, BaseOtData &data_storage)
 
std::vector< std::pair< std::vector< std::byte >, std::vector< std::byte > > > Send (size_t) override
 
std::vector< std::vector< std::byte > > Receive (const BitVector<> &) override
 
- Public Member Functions inherited from encrypto::motion::RandomOt
virtual ~RandomOt ()=default
 

Detailed Description

A random OT implementation based on the protocol by Hauck and Loss (2017). https://eprint.iacr.org/2017/1011

Constructor & Destructor Documentation

◆ OtHL17()

encrypto::motion::OtHL17::OtHL17 ( std::function< void(flatbuffers::FlatBufferBuilder &&)>  send,
BaseOtData data_storage 
)

Member Function Documentation

◆ Receive()

std::vector< std::vector< std::byte > > encrypto::motion::OtHL17::Receive ( const BitVector<> &  choices)
overridevirtual

Implements encrypto::motion::RandomOt.

Here is the call graph for this function:

◆ Send()

std::vector< std::pair< std::vector< std::byte >, std::vector< std::byte > > > encrypto::motion::OtHL17::Send ( size_t  number_of_ots)
overridevirtual

Send/receive for a single random OT. Send/receive parts of the random OT protocol (batch version).

Implements encrypto::motion::RandomOt.

Here is the call graph for this function:

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