nil::crypto3::hashes::detail::tiger_policy< 192, 3 > Struct Reference

#include <tiger_policy.hpp>

+ Inheritance diagram for nil::crypto3::hashes::detail::tiger_policy< 192, 3 >:
+ Collaboration diagram for nil::crypto3::hashes::detail::tiger_policy< 192, 3 >:

Classes

struct  iv_generator
 

Public Types

typedef basic_tiger_policy< DigestBits >::block_type block_type
 
typedef tiger_functions< digest_bits >::byte_type byte_type
 
typedef stream_endian::little_octet_big_bit digest_endian
 
typedef static_digest< digest_bitsdigest_type
 
typedef std::array< std::uint8_t, pkcs_id_sizepkcs_id_type
 
typedef basic_tiger_policy< DigestBits > policy_type
 
typedef tiger_functions< digest_bits >::state_type state_type
 
typedef std::array< word_type, substitution_wordssubstitution_type
 
typedef tiger_functions< digest_bits >::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
 
constexpr static const std::size_t block_words
 
constexpr static const std::size_t byte_bits
 
constexpr static const std::size_t digest_bits = 192
 
constexpr static const std::size_t passes = 3
 
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 = 19
 
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<digest_bits>::state_bits
 
constexpr static const std::size_t state_words = tiger_functions<digest_bits>::state_words
 
constexpr static const std::size_t substitution_words = 256
 
constexpr static const std::size_t word_bits = tiger_functions<digest_bits>::word_bits
 

Member Typedef Documentation

◆ block_type

◆ byte_type

◆ digest_endian

◆ digest_type

◆ pkcs_id_type

typedef std::array<std::uint8_t, pkcs_id_size> nil::crypto3::hashes::detail::tiger_policy< 192, 3 >::pkcs_id_type

◆ policy_type

◆ 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

Member Function Documentation

◆ mix()

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

◆ pass()

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

constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_functions< DigestBits >::block_bits
staticconstexprinherited

◆ block_words

constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_functions< DigestBits >::block_words
staticconstexprinherited

◆ byte_bits

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

◆ digest_bits

constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_policy< 192, 3 >::digest_bits = 192
staticconstexpr

◆ passes

constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_policy< 192, 3 >::passes = 3
staticconstexpr

◆ pkcs_id

constexpr static const pkcs_id_type nil::crypto3::hashes::detail::tiger_policy< 192, 3 >::pkcs_id
staticconstexpr
Initial value:
= {0x30, 0x29, 0x30, 0x0D, 0x06, 0x09, 0x2B,
0x06, 0x01, 0x04, 0x01, 0xDA, 0x47, 0x0C,
0x02, 0x05, 0x00, 0x04, 0x18}

◆ pkcs_id_bits

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

◆ pkcs_id_size

constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_policy< 192, 3 >::pkcs_id_size = 19
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

constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_policy< 192, 3 >::state_bits = tiger_functions<digest_bits>::state_bits
staticconstexpr

◆ state_words

constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_policy< 192, 3 >::state_words = tiger_functions<digest_bits>::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

constexpr static const std::size_t nil::crypto3::hashes::detail::tiger_policy< 192, 3 >::word_bits = tiger_functions<digest_bits>::word_bits
staticconstexpr

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