MOTION  0.01
Framework for mixed-protocol multi-party computation
Functions | Variables
aesni_primitives.h File Reference
#include <cstddef>
#include <cstdint>
Include dependency graph for aesni_primitives.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void AesniKeyExpansion128 (void *round_keys)
 
void AesniCtrStreamBlocks128 (const void *round_keys, std::uint64_t *counter, void *output, std::size_t number_of_blocks)
 
void AesniCtrStreamBlocks128Unaligned (const void *round_keys, std::uint64_t *counter, void *output, std::size_t number_of_blocks)
 
void AesniCtrStreamSingleBlock128Unaligned (const void *round_keys, std::uint64_t *counter, void *output)
 
void AesniTmmoBatch4 (const void *round_keys, void *input, __uint128_t tweak)
 
void AesniMmoSingle (const void *round_keys, void *input)
 
void AesniBmrDkc (const void *round_keys, const void *key_a, const void *key_b, std::uint64_t gate_id, std::size_t number_of_parties, void *output)
 

Variables

constexpr std::size_t kAesKeySize128 = 16
 
constexpr std::size_t kAesBlockSize = 16
 
constexpr std::size_t kAesRoundKeysSize128 = 176
 
constexpr std::size_t kAesNumRoundKeys128 = 11
 

Function Documentation

◆ AesniBmrDkc()

void AesniBmrDkc ( const void *  round_keys,
const void *  key_a,
const void *  key_b,
std::uint64_t  gate_id,
std::size_t  number_of_parties,
void *  output 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ AesniCtrStreamBlocks128()

void AesniCtrStreamBlocks128 ( const void *  round_keys,
std::uint64_t *  counter,
void *  output,
std::size_t  number_of_blocks 
)
Here is the caller graph for this function:

◆ AesniCtrStreamBlocks128Unaligned()

void AesniCtrStreamBlocks128Unaligned ( const void *  round_keys,
std::uint64_t *  counter,
void *  output,
std::size_t  number_of_blocks 
)
Here is the caller graph for this function:

◆ AesniCtrStreamSingleBlock128Unaligned()

void AesniCtrStreamSingleBlock128Unaligned ( const void *  round_keys,
std::uint64_t *  counter,
void *  output 
)
Here is the caller graph for this function:

◆ AesniKeyExpansion128()

void AesniKeyExpansion128 ( void *  round_keys)
Here is the caller graph for this function:

◆ AesniMmoSingle()

void AesniMmoSingle ( const void *  round_keys,
void *  input 
)
Here is the caller graph for this function:

◆ AesniTmmoBatch4()

void AesniTmmoBatch4 ( const void *  round_keys,
void *  input,
__uint128_t  tweak 
)
Here is the caller graph for this function:

Variable Documentation

◆ kAesBlockSize

constexpr std::size_t kAesBlockSize = 16
constexpr

◆ kAesKeySize128

constexpr std::size_t kAesKeySize128 = 16
constexpr

◆ kAesNumRoundKeys128

constexpr std::size_t kAesNumRoundKeys128 = 11
constexpr

◆ kAesRoundKeysSize128

constexpr std::size_t kAesRoundKeysSize128 = 176
constexpr