#include <mt_provider.h>
◆ ~MtProvider()
virtual encrypto::motion::MtProvider::~MtProvider |
( |
| ) |
|
|
virtualdefault |
◆ MtProvider() [1/2]
encrypto::motion::MtProvider::MtProvider |
( |
std::size_t |
my_id, |
|
|
std::size_t |
number_of_parties |
|
) |
| |
|
protected |
◆ MtProvider() [2/2]
encrypto::motion::MtProvider::MtProvider |
( |
| ) |
|
|
protecteddelete |
◆ GetBinary()
BinaryMtVector encrypto::motion::MtProvider::GetBinary |
( |
const std::size_t |
offset, |
|
|
const std::size_t |
n = 1 |
|
) |
| const |
◆ GetBinaryAll()
const BinaryMtVector & encrypto::motion::MtProvider::GetBinaryAll |
( |
| ) |
const |
|
noexcept |
◆ GetInteger()
template<typename T , typename = std::enable_if_t<std::is_unsigned_v<T>>>
IntegerMtVector<T> encrypto::motion::MtProvider::GetInteger |
( |
const std::size_t |
offset, |
|
|
const std::size_t |
n = 1 |
|
) |
| const |
|
inline |
◆ GetIntegerAll()
template<typename T , typename = std::enable_if_t<std::is_unsigned_v<T>>>
const IntegerMtVector<T>& encrypto::motion::MtProvider::GetIntegerAll |
( |
| ) |
const |
|
inlinenoexcept |
◆ GetNumberOfMts()
template<typename T >
std::size_t encrypto::motion::MtProvider::GetNumberOfMts |
( |
| ) |
const |
|
inlinenoexcept |
◆ NeedMts()
bool encrypto::motion::MtProvider::NeedMts |
( |
| ) |
const |
|
noexcept |
◆ PreSetup()
virtual void encrypto::motion::MtProvider::PreSetup |
( |
| ) |
|
|
pure virtual |
◆ RequestArithmeticMts()
template<typename T , typename = std::enable_if_t<std::is_unsigned_v<T>>>
std::size_t encrypto::motion::MtProvider::RequestArithmeticMts |
( |
const std::size_t |
number_of_mts | ) |
|
|
inlinenoexcept |
◆ RequestBinaryMts()
std::size_t encrypto::motion::MtProvider::RequestBinaryMts |
( |
const std::size_t |
number_of_mts | ) |
|
|
noexcept |
◆ Setup()
virtual void encrypto::motion::MtProvider::Setup |
( |
| ) |
|
|
pure virtual |
◆ WaitFinished()
void encrypto::motion::MtProvider::WaitFinished |
( |
| ) |
const |
|
inline |
◆ bit_mts_
◆ finished_
std::atomic<bool> encrypto::motion::MtProvider::finished_ {false} |
|
protected |
◆ finished_condition_
std::shared_ptr<FiberCondition> encrypto::motion::MtProvider::finished_condition_ |
|
protected |
◆ mts16_
◆ mts32_
◆ mts64_
◆ mts8_
◆ my_id_
const std::size_t encrypto::motion::MtProvider::my_id_ |
|
protected |
◆ number_of_bit_mts_
std::size_t encrypto::motion::MtProvider::number_of_bit_mts_ {0} |
|
protected |
◆ number_of_mts_16_
std::size_t encrypto::motion::MtProvider::number_of_mts_16_ {0} |
|
protected |
◆ number_of_mts_32_
std::size_t encrypto::motion::MtProvider::number_of_mts_32_ {0} |
|
protected |
◆ number_of_mts_64_
std::size_t encrypto::motion::MtProvider::number_of_mts_64_ {0} |
|
protected |
◆ number_of_mts_8_
std::size_t encrypto::motion::MtProvider::number_of_mts_8_ {0} |
|
protected |
◆ number_of_parties_
const std::size_t encrypto::motion::MtProvider::number_of_parties_ |
|
protected |
The documentation for this class was generated from the following files: