#include <sharing_randomness_generator.h>
◆ SharingRandomnessGenerator() [1/3]
encrypto::motion::primitives::SharingRandomnessGenerator::SharingRandomnessGenerator |
( |
std::size_t |
party_id | ) |
|
◆ ~SharingRandomnessGenerator()
encrypto::motion::primitives::SharingRandomnessGenerator::~SharingRandomnessGenerator |
( |
| ) |
|
|
default |
◆ SharingRandomnessGenerator() [2/3]
◆ SharingRandomnessGenerator() [3/3]
encrypto::motion::primitives::SharingRandomnessGenerator::SharingRandomnessGenerator |
( |
| ) |
|
|
delete |
◆ ClearBitPool()
void encrypto::motion::primitives::SharingRandomnessGenerator::ClearBitPool |
( |
| ) |
|
◆ GetBits()
BitVector encrypto::motion::primitives::SharingRandomnessGenerator::GetBits |
( |
const std::size_t |
gate_id, |
|
|
const std::size_t |
number_of_bits |
|
) |
| |
◆ GetInitializedCondition()
std::unique_ptr<FiberCondition>& encrypto::motion::primitives::SharingRandomnessGenerator::GetInitializedCondition |
( |
| ) |
|
|
inlinenoexcept |
◆ GetSeed()
std::vector< std::uint8_t > encrypto::motion::primitives::SharingRandomnessGenerator::GetSeed |
( |
| ) |
|
◆ GetUnsigned() [1/2]
template<typename T , typename = std::enable_if_t<std::is_unsigned_v<T>>>
T encrypto::motion::primitives::SharingRandomnessGenerator::GetUnsigned |
( |
const std::size_t |
gate_id | ) |
|
|
inline |
◆ GetUnsigned() [2/2]
template<typename T , typename = std::enable_if_t<std::is_unsigned_v<T>>>
std::vector<T> encrypto::motion::primitives::SharingRandomnessGenerator::GetUnsigned |
( |
std::size_t |
gate_id, |
|
|
const std::size_t |
number_of_gates |
|
) |
| |
|
inline |
◆ Initialize()
void encrypto::motion::primitives::SharingRandomnessGenerator::Initialize |
( |
const unsigned char |
seed[SharingRandomnessGenerator::kMasterSeedByteLength] | ) |
|
◆ IsInitialized()
bool& encrypto::motion::primitives::SharingRandomnessGenerator::IsInitialized |
( |
| ) |
|
|
inline |
◆ ResetBitPool()
void encrypto::motion::primitives::SharingRandomnessGenerator::ResetBitPool |
( |
| ) |
|
◆ kMasterSeedByteLength
constexpr static std::size_t encrypto::motion::primitives::SharingRandomnessGenerator::kMasterSeedByteLength = 32 |
|
staticconstexpr |
The documentation for this class was generated from the following files: