MOTION
0.01
Framework for mixed-protocol multi-party computation
|
Go to the documentation of this file.
47 virtual void RandomBytes(std::byte* output, std::size_t number_of_bytes)
override;
50 virtual void RandomBlocks(std::byte* output, std::size_t number_of_blocks)
override;
62 std::unique_ptr<Aes128CtrRngState> state_;
constexpr std::size_t kAesBlockSize
Definition: constants.h:54
void AesniKeyExpansion128(void *round_keys_input)
Definition: aesni_primitives.cpp:55
Definition: aes128_ctr_rng.cpp:32
std::array< std::byte, kAesRoundKeysSize128 > round_keys
Definition: aes128_ctr_rng.cpp:33
virtual void SampleKey() override
Definition: aes128_ctr_rng.cpp:41
static Aes128CtrRng & GetThreadInstance()
Definition: aes128_ctr_rng.h:56
static constexpr std::size_t kBlockSize
Definition: aes128_ctr_rng.h:58
Definition: aes128_ctr_rng.h:32
virtual void RandomBytes(std::byte *output, std::size_t number_of_bytes) override
Definition: aes128_ctr_rng.cpp:66
Definition: algorithm_description.cpp:35
void AesniCtrStreamSingleBlock128Unaligned(const void *round_keys_input, std::uint64_t *counter, void *output)
Definition: aesni_primitives.cpp:214
virtual void RandomBlocksAligned(std::byte *output, std::size_t number_of_blocks) override
Definition: aes128_ctr_rng.cpp:55
void AesniCtrStreamBlocks128Unaligned(const void *round_keys_input, std::uint64_t *counter_input_pointer, void *output_input_pointer, std::size_t number_of_blocks)
Definition: aesni_primitives.cpp:151
Aes128CtrRng & operator=(const Aes128CtrRng &)=delete
virtual void RandomBlocks(std::byte *output, std::size_t number_of_blocks) override
Definition: aes128_ctr_rng.cpp:61
Aes128CtrRng()
Definition: aes128_ctr_rng.cpp:37
std::uint64_t counter
Definition: aes128_ctr_rng.cpp:34
void AesniCtrStreamBlocks128(const void *round_keys_input, std::uint64_t *counter_input_pointer, void *output_input_pointer, std::size_t number_of_blocks)
Definition: aesni_primitives.cpp:92