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

#include <ot_provider.h>

Inheritance diagram for encrypto::motion::OtVector:
Inheritance graph
[legend]

Public Member Functions

 OtVector ()=delete
 
std::size_t GetOtId () const noexcept
 
std::size_t GetNumOts () const noexcept
 
std::size_t GetBitlen () const noexcept
 
OtProtocol GetProtocol () const noexcept
 

Protected Member Functions

 OtVector (const std::size_t ot_id, const std::size_t number_of_ots, const std::size_t bitlength, const OtProtocol p, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 

Protected Attributes

const std::size_t ot_id_
 
const std::size_t number_of_ots_
 
const std::size_t bitlen_
 
const OtProtocol p_
 
std::function< void(flatbuffers::FlatBufferBuilder &&)> send_function_
 

Constructor & Destructor Documentation

◆ OtVector() [1/2]

encrypto::motion::OtVector::OtVector ( )
delete

◆ OtVector() [2/2]

encrypto::motion::OtVector::OtVector ( const std::size_t  ot_id,
const std::size_t  number_of_ots,
const std::size_t  bitlength,
const OtProtocol  p,
const std::function< void(flatbuffers::FlatBufferBuilder &&)> &  send_function 
)
protected

Member Function Documentation

◆ GetBitlen()

std::size_t encrypto::motion::OtVector::GetBitlen ( ) const
inlinenoexcept

◆ GetNumOts()

std::size_t encrypto::motion::OtVector::GetNumOts ( ) const
inlinenoexcept

◆ GetOtId()

std::size_t encrypto::motion::OtVector::GetOtId ( ) const
inlinenoexcept

◆ GetProtocol()

OtProtocol encrypto::motion::OtVector::GetProtocol ( ) const
inlinenoexcept

Member Data Documentation

◆ bitlen_

const std::size_t encrypto::motion::OtVector::bitlen_
protected

◆ number_of_ots_

const std::size_t encrypto::motion::OtVector::number_of_ots_
protected

◆ ot_id_

const std::size_t encrypto::motion::OtVector::ot_id_
protected

◆ p_

const OtProtocol encrypto::motion::OtVector::p_
protected

◆ send_function_

std::function<void(flatbuffers::FlatBufferBuilder&&)> encrypto::motion::OtVector::send_function_
protected

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