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

#include <aes128_ctr_rng.h>

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

Classes

struct  Aes128CtrRngState
 

Public Member Functions

 Aes128CtrRng ()
 
virtual ~Aes128CtrRng ()
 
 Aes128CtrRng (const Aes128CtrRng &)=delete
 
 Aes128CtrRng (Aes128CtrRng &&)=delete
 
Aes128CtrRngoperator= (const Aes128CtrRng &)=delete
 
Aes128CtrRngoperator= (Aes128CtrRng &&)=delete
 
virtual void SampleKey () override
 
virtual void RandomBytes (std::byte *output, std::size_t number_of_bytes) override
 
virtual void RandomBlocks (std::byte *output, std::size_t number_of_blocks) override
 
virtual void RandomBlocksAligned (std::byte *output, std::size_t number_of_blocks) override
 
- Public Member Functions inherited from encrypto::motion::Rng
 Rng ()=default
 
virtual ~Rng ()=default
 

Static Public Member Functions

static Aes128CtrRngGetThreadInstance ()
 

Static Public Attributes

static constexpr std::size_t kBlockSize = 16
 
- Static Public Attributes inherited from encrypto::motion::Rng
static constexpr std::size_t kBlockSize = 16
 

Constructor & Destructor Documentation

◆ Aes128CtrRng() [1/3]

encrypto::motion::Aes128CtrRng::Aes128CtrRng ( )
Here is the call graph for this function:

◆ ~Aes128CtrRng()

encrypto::motion::Aes128CtrRng::~Aes128CtrRng ( )
virtualdefault

◆ Aes128CtrRng() [2/3]

encrypto::motion::Aes128CtrRng::Aes128CtrRng ( const Aes128CtrRng )
delete

◆ Aes128CtrRng() [3/3]

encrypto::motion::Aes128CtrRng::Aes128CtrRng ( Aes128CtrRng &&  )
delete

Member Function Documentation

◆ GetThreadInstance()

static Aes128CtrRng& encrypto::motion::Aes128CtrRng::GetThreadInstance ( )
inlinestatic
Here is the caller graph for this function:

◆ operator=() [1/2]

Aes128CtrRng& encrypto::motion::Aes128CtrRng::operator= ( Aes128CtrRng &&  )
delete

◆ operator=() [2/2]

Aes128CtrRng& encrypto::motion::Aes128CtrRng::operator= ( const Aes128CtrRng )
delete

◆ RandomBlocks()

void encrypto::motion::Aes128CtrRng::RandomBlocks ( std::byte *  output,
std::size_t  number_of_blocks 
)
overridevirtual

Implements encrypto::motion::Rng.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RandomBlocksAligned()

void encrypto::motion::Aes128CtrRng::RandomBlocksAligned ( std::byte *  output,
std::size_t  number_of_blocks 
)
overridevirtual

Implements encrypto::motion::Rng.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RandomBytes()

void encrypto::motion::Aes128CtrRng::RandomBytes ( std::byte *  output,
std::size_t  number_of_bytes 
)
overridevirtual

Implements encrypto::motion::Rng.

Here is the call graph for this function:

◆ SampleKey()

void encrypto::motion::Aes128CtrRng::SampleKey ( )
overridevirtual

Implements encrypto::motion::Rng.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ kBlockSize

constexpr std::size_t encrypto::motion::Aes128CtrRng::kBlockSize = 16
staticconstexpr

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