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

#include <basic_tiger_policy.hpp>

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

Public Types

typedef std::array< word_type, block_wordsblock_type
 
typedef boost::uint_t< byte_bits >::exact byte_type
 
typedef boost::uint_t< CHAR_BIT >::exact byte_type
 
typedef boost::uint_t< byte_bits >::exact byte_type
 
typedef boost::uint_t< byte_bits >::exact byte_type
 
typedef ::nil::crypto3::detail::basic_functions< 64 > policy_type
 
typedef std::array< word_type, state_wordsstate_type
 
typedef std::array< word_type, substitution_wordssubstitution_type
 
typedef policy_type::word_type word_type
 

Static Public Member Functions

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 = 512
 
constexpr static const std::size_t block_words = block_bits / word_bits
 
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 = DigestBits
 
constexpr static const std::size_t state_words = state_bits / word_bits
 
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 std::array<word_type, block_words> nil::crypto3::hashes::detail::basic_tiger_policy< DigestBits >::block_type

◆ byte_type [1/4]

typedef boost::uint_t<byte_bits>::exact nil::crypto3::detail::basic_functions< WordBits >::byte_type
inherited

◆ byte_type [2/4]

typedef boost::uint_t<CHAR_BIT>::exact nil::crypto3::detail::basic_functions< WordBits >::byte_type
inherited

◆ byte_type [3/4]

typedef boost::uint_t<byte_bits>::exact nil::crypto3::detail::basic_functions< WordBits >::byte_type
inherited

◆ byte_type [4/4]

typedef boost::uint_t<byte_bits>::exact nil::crypto3::detail::basic_functions< WordBits >::byte_type
inherited

◆ policy_type

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

◆ state_type

template<std::size_t DigestBits>
typedef std::array<word_type, state_words> nil::crypto3::hashes::detail::basic_tiger_policy< 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

◆ word_type

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

Member Function Documentation

◆ 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::basic_tiger_policy< DigestBits >::block_bits = 512
staticconstexpr

◆ block_words

template<std::size_t DigestBits>
constexpr static const std::size_t nil::crypto3::hashes::detail::basic_tiger_policy< DigestBits >::block_words = block_bits / word_bits
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
staticconstexpr

◆ sbox2

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

◆ sbox3

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

◆ sbox4

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

◆ state_bits

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

◆ state_words

template<std::size_t DigestBits>
constexpr static const std::size_t nil::crypto3::hashes::detail::basic_tiger_policy< DigestBits >::state_words = state_bits / word_bits
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
staticconstexpr

◆ word_bits

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

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