nil::crypto3::hashes::detail::tiger_functions< DigestBits > Struct Template Reference

#include <tiger_functions.hpp>

+ Inheritance diagram for nil::crypto3::hashes::detail::tiger_functions< DigestBits >:
+ Collaboration diagram for nil::crypto3::hashes::detail::tiger_functions< DigestBits >:

Public Types

typedef basic_tiger_policy< DigestBits >::block_type block_type
 
typedef policy_type::byte_type byte_type
 
typedef basic_tiger_policy< DigestBits > policy_type
 
typedef basic_tiger_policy< DigestBits >::state_type state_type
 
typedef std::array< word_type, substitution_wordssubstitution_type
 
typedef policy_type::word_type word_type
 

Static Public Member Functions

static void mix (block_type &X)
 
static void pass (word_type &A, word_type &B, word_type &C, block_type &X, byte_type mul)
 
static word_type rotl (word_type x)
 
static word_type rotl (word_type x)
 
static word_type rotl (word_type x)
 
static word_type rotl (word_type x)
 
static word_type rotl (word_type x, std::size_t n)
 
static word_type rotl (word_type x, std::size_t n)
 
static word_type rotl (word_type x, std::size_t n)
 
static word_type rotl (word_type x, std::size_t n)
 
static word_type rotr (word_type x)
 
static word_type rotr (word_type x)
 
static word_type rotr (word_type x)
 
static word_type rotr (word_type x)
 
static word_type rotr (word_type x, std::size_t n)
 
static word_type rotr (word_type x, std::size_t n)
 
static word_type rotr (word_type x, std::size_t n)
 
static word_type rotr (word_type x, std::size_t n)
 
static word_type shl (word_type x)
 
static word_type shl (word_type x)
 
static word_type shl (word_type x)
 
static word_type shl (word_type x)
 
static word_type shl (word_type x, std::size_t n)
 
static word_type shl (word_type x, std::size_t n)
 
static word_type shl (word_type x, std::size_t n)
 
static word_type shl (word_type x, std::size_t n)
 
static word_type shr (word_type x)
 
static word_type shr (word_type x)
 
static word_type shr (word_type x)
 
static word_type shr (word_type x)
 
static word_type shr (word_type x, std::size_t n)
 
static word_type shr (word_type x, std::size_t n)
 
static word_type shr (word_type x, std::size_t n)
 
static word_type shr (word_type x, std::size_t n)
 

Static Public Attributes

constexpr static const std::size_t block_bits = basic_tiger_policy<DigestBits>::block_bits
 
constexpr static const std::size_t block_words = basic_tiger_policy<DigestBits>::block_words
 
constexpr static const std::size_t byte_bits
 
constexpr static const substitution_type sbox1
 
constexpr static const substitution_type sbox2
 
constexpr static const substitution_type sbox3
 
constexpr static const substitution_type sbox4
 
constexpr static const std::size_t state_bits = basic_tiger_policy<DigestBits>::state_bits
 
constexpr static const std::size_t state_words = basic_tiger_policy<DigestBits>::state_words
 
constexpr static const std::size_t substitution_words = 256
 
constexpr static const std::size_t word_bits = policy_type::word_bits
 

Member Typedef Documentation

◆ block_type

template<std::size_t DigestBits>
typedef basic_tiger_policy<DigestBits>::block_type nil::crypto3::hashes::detail::tiger_functions< DigestBits >::block_type

◆ byte_type

template<std::size_t DigestBits>
typedef policy_type::byte_type nil::crypto3::hashes::detail::tiger_functions< DigestBits >::byte_type

◆ policy_type

template<std::size_t DigestBits>
typedef basic_tiger_policy<DigestBits> nil::crypto3::hashes::detail::tiger_functions< DigestBits >::policy_type

◆ state_type

template<std::size_t DigestBits>
typedef basic_tiger_policy<DigestBits>::state_type nil::crypto3::hashes::detail::tiger_functions< DigestBits >::state_type

◆ substitution_type

template<std::size_t DigestBits>
typedef std::array<word_type, substitution_words> nil::crypto3::hashes::detail::basic_tiger_policy< DigestBits >::substitution_type
inherited

◆ word_type

template<std::size_t DigestBits>
typedef policy_type::word_type nil::crypto3::hashes::detail::tiger_functions< DigestBits >::word_type

Member Function Documentation

◆ mix()

template<std::size_t DigestBits>
static void nil::crypto3::hashes::detail::tiger_functions< DigestBits >::mix ( block_type X)
inlinestatic

◆ pass()

template<std::size_t DigestBits>
static void nil::crypto3::hashes::detail::tiger_functions< DigestBits >::pass ( word_type A,
word_type B,
word_type C,
block_type X,
byte_type  mul 
)
inlinestatic

◆ rotl() [1/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::rotl ( word_type  x)
inlinestaticinherited

◆ rotl() [2/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::rotl ( word_type  x)
inlinestaticinherited

◆ rotl() [3/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::rotl ( word_type  x)
inlinestaticinherited

◆ rotl() [4/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::rotl ( word_type  x)
inlinestaticinherited

◆ rotl() [5/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::rotl ( word_type  x,
std::size_t  n 
)
inlinestaticinherited

◆ rotl() [6/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::rotl ( word_type  x,
std::size_t  n 
)
inlinestaticinherited

◆ rotl() [7/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::rotl ( word_type  x,
std::size_t  n 
)
inlinestaticinherited

◆ rotl() [8/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::rotl ( word_type  x,
std::size_t  n 
)
inlinestaticinherited

◆ rotr() [1/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::rotr ( word_type  x)
inlinestaticinherited

◆ rotr() [2/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::rotr ( word_type  x)
inlinestaticinherited

◆ rotr() [3/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::rotr ( word_type  x)
inlinestaticinherited

◆ rotr() [4/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::rotr ( word_type  x)
inlinestaticinherited

◆ rotr() [5/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::rotr ( word_type  x,
std::size_t  n 
)
inlinestaticinherited

◆ rotr() [6/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::rotr ( word_type  x,
std::size_t  n 
)
inlinestaticinherited

◆ rotr() [7/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::rotr ( word_type  x,
std::size_t  n 
)
inlinestaticinherited

◆ rotr() [8/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::rotr ( word_type  x,
std::size_t  n 
)
inlinestaticinherited

◆ shl() [1/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::shl ( word_type  x)
inlinestaticinherited

◆ shl() [2/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::shl ( word_type  x)
inlinestaticinherited

◆ shl() [3/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::shl ( word_type  x)
inlinestaticinherited

◆ shl() [4/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::shl ( word_type  x)
inlinestaticinherited

◆ shl() [5/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::shl ( word_type  x,
std::size_t  n 
)
inlinestaticinherited

◆ shl() [6/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::shl ( word_type  x,
std::size_t  n 
)
inlinestaticinherited

◆ shl() [7/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::shl ( word_type  x,
std::size_t  n 
)
inlinestaticinherited

◆ shl() [8/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::shl ( word_type  x,
std::size_t  n 
)
inlinestaticinherited

◆ shr() [1/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::shr ( word_type  x)
inlinestaticinherited

◆ shr() [2/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::shr ( word_type  x)
inlinestaticinherited

◆ shr() [3/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::shr ( word_type  x)
inlinestaticinherited

◆ shr() [4/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::shr ( word_type  x)
inlinestaticinherited

◆ shr() [5/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::shr ( word_type  x,
std::size_t  n 
)
inlinestaticinherited

◆ shr() [6/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::shr ( word_type  x,
std::size_t  n 
)
inlinestaticinherited

◆ shr() [7/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::shr ( word_type  x,
std::size_t  n 
)
inlinestaticinherited

◆ shr() [8/8]

static word_type nil::crypto3::detail::basic_functions< WordBits >::shr ( word_type  x,
std::size_t  n 
)
inlinestaticinherited

Member Data Documentation

◆ block_bits

template<std::size_t DigestBits>
constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_functions< DigestBits >::block_bits = basic_tiger_policy<DigestBits>::block_bits
staticconstexpr

◆ block_words

template<std::size_t DigestBits>
constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_functions< DigestBits >::block_words = basic_tiger_policy<DigestBits>::block_words
staticconstexpr

◆ byte_bits

constexpr static const std::size_t nil::crypto3::detail::basic_functions< WordBits >::byte_bits
staticconstexprinherited

◆ sbox1

template<std::size_t DigestBits>
constexpr const basic_tiger_policy< DigestBits >::substitution_type nil::crypto3::hashes::detail::basic_tiger_policy< DigestBits >::sbox1
staticconstexprinherited

◆ sbox2

template<std::size_t DigestBits>
constexpr const basic_tiger_policy< DigestBits >::substitution_type nil::crypto3::hashes::detail::basic_tiger_policy< DigestBits >::sbox2
staticconstexprinherited

◆ sbox3

template<std::size_t DigestBits>
constexpr const basic_tiger_policy< DigestBits >::substitution_type nil::crypto3::hashes::detail::basic_tiger_policy< DigestBits >::sbox3
staticconstexprinherited

◆ sbox4

template<std::size_t DigestBits>
constexpr const basic_tiger_policy< DigestBits >::substitution_type nil::crypto3::hashes::detail::basic_tiger_policy< DigestBits >::sbox4
staticconstexprinherited

◆ state_bits

template<std::size_t DigestBits>
constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_functions< DigestBits >::state_bits = basic_tiger_policy<DigestBits>::state_bits
staticconstexpr

◆ state_words

template<std::size_t DigestBits>
constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_functions< DigestBits >::state_words = basic_tiger_policy<DigestBits>::state_words
staticconstexpr

◆ substitution_words

template<std::size_t DigestBits>
constexpr static const std::size_t nil::crypto3::hashes::detail::basic_tiger_policy< DigestBits >::substitution_words = 256
staticconstexprinherited

◆ word_bits

template<std::size_t DigestBits>
constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_functions< DigestBits >::word_bits = policy_type::word_bits
staticconstexpr

The documentation for this struct was generated from the following file: