nil::crypto3::hashes::detail::tiger_policy< DigestBits, Passes > Struct Template Reference

#include <tiger_policy.hpp>

+ Inheritance diagram for nil::crypto3::hashes::detail::tiger_policy< DigestBits, Passes >:
+ Collaboration diagram for nil::crypto3::hashes::detail::tiger_policy< DigestBits, Passes >:

Classes

struct  iv_generator
 

Public Types

typedef basic_tiger_policy< DigestBits >::block_type block_type
 
typedef tiger_functions< DigestBits >::byte_type byte_type
 
typedef stream_endian::little_octet_big_bit digest_endian
 
typedef static_digest< DigestBits > digest_type
 
typedef std::array< std::uint8_t, pkcs_id_sizepkcs_id_type
 
typedef basic_tiger_policy< DigestBits > policy_type
 
typedef tiger_functions< DigestBits >::state_type state_type
 
typedef std::array< word_type, substitution_wordssubstitution_type
 
typedef tiger_functions< DigestBits >::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 std::size_t digest_bits = DigestBits
 
constexpr static const std::size_t passes = Passes
 
constexpr static const pkcs_id_type pkcs_id = {}
 
constexpr static const std::size_t pkcs_id_bits = pkcs_id_size * CHAR_BIT
 
constexpr static const std::size_t pkcs_id_size = 0
 
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 = tiger_functions<DigestBits>::state_bits
 
constexpr static const std::size_t state_words = tiger_functions<DigestBits>::state_words
 
constexpr static const std::size_t substitution_words = 256
 
constexpr static const std::size_t word_bits = tiger_functions<DigestBits>::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
inherited

◆ byte_type

template<std::size_t DigestBits, std::size_t Passes>
typedef tiger_functions<DigestBits>::byte_type nil::crypto3::hashes::detail::tiger_policy< DigestBits, Passes >::byte_type

◆ digest_endian

template<std::size_t DigestBits, std::size_t Passes>
typedef stream_endian::little_octet_big_bit nil::crypto3::hashes::detail::tiger_policy< DigestBits, Passes >::digest_endian

◆ digest_type

template<std::size_t DigestBits, std::size_t Passes>
typedef static_digest<DigestBits> nil::crypto3::hashes::detail::tiger_policy< DigestBits, Passes >::digest_type

◆ pkcs_id_type

template<std::size_t DigestBits, std::size_t Passes>
typedef std::array<std::uint8_t, pkcs_id_size> nil::crypto3::hashes::detail::tiger_policy< DigestBits, Passes >::pkcs_id_type

◆ policy_type

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

◆ state_type

template<std::size_t DigestBits, std::size_t Passes>
typedef tiger_functions<DigestBits>::state_type nil::crypto3::hashes::detail::tiger_policy< DigestBits, Passes >::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, std::size_t Passes>
typedef tiger_functions<DigestBits>::word_type nil::crypto3::hashes::detail::tiger_policy< DigestBits, Passes >::word_type

Member Function Documentation

◆ mix()

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

◆ 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 
)
inlinestaticinherited

◆ 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
staticconstexprinherited

◆ 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
staticconstexprinherited

◆ byte_bits

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

◆ digest_bits

template<std::size_t DigestBits, std::size_t Passes>
constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_policy< DigestBits, Passes >::digest_bits = DigestBits
staticconstexpr

◆ passes

template<std::size_t DigestBits, std::size_t Passes>
constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_policy< DigestBits, Passes >::passes = Passes
staticconstexpr

◆ pkcs_id

template<std::size_t DigestBits, std::size_t Passes>
constexpr tiger_policy< DigestBits, Passes >::pkcs_id_type const nil::crypto3::hashes::detail::tiger_policy< DigestBits, Passes >::pkcs_id = {}
staticconstexpr

◆ pkcs_id_bits

template<std::size_t DigestBits, std::size_t Passes>
constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_policy< DigestBits, Passes >::pkcs_id_bits = pkcs_id_size * CHAR_BIT
staticconstexpr

◆ pkcs_id_size

template<std::size_t DigestBits, std::size_t Passes>
constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_policy< DigestBits, Passes >::pkcs_id_size = 0
staticconstexpr

◆ 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, std::size_t Passes>
constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_policy< DigestBits, Passes >::state_bits = tiger_functions<DigestBits>::state_bits
staticconstexpr

◆ state_words

template<std::size_t DigestBits, std::size_t Passes>
constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_policy< DigestBits, Passes >::state_words = tiger_functions<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, std::size_t Passes>
constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_policy< DigestBits, Passes >::word_bits = tiger_functions<DigestBits>::word_bits
staticconstexpr

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