nil::crypto3::hashes::blake2b_compressor< DigestBits > Class Template Reference

#include <blake2b.hpp>

+ Collaboration diagram for nil::crypto3::hashes::blake2b_compressor< DigestBits >:

Public Types

typedef policy_type::block_type block_type
 
typedef policy_type::iv_generator iv_generator
 
typedef policy_type::salt_type salt_type
 
typedef policy_type::state_type state_type
 
typedef policy_type::word_type word_type
 

Static Public Member Functions

static void process_block (state_type &state, const block_type &block, value_type seen=value_type(), value_type finalizator=value_type())
 

Static Public Attributes

constexpr static const std::size_t block_bits = policy_type::block_bits
 
constexpr static const std::size_t block_words = policy_type::block_words
 
constexpr static const std::size_t salt_bits = policy_type::salt_bits
 
constexpr static const salt_type salt_value = policy_type::salt_value
 
constexpr static const std::size_t state_bits = policy_type::state_bits
 
constexpr static const std::size_t state_words = policy_type::state_words
 
constexpr static const std::size_t word_bits = policy_type::word_bits
 

Protected Types

typedef detail::blake2b_functions< DigestBits > policy_type
 
typedef policy_type::state_type::value_type value_type
 

Member Typedef Documentation

◆ block_type

template<std::size_t DigestBits>
typedef policy_type::block_type nil::crypto3::hashes::blake2b_compressor< DigestBits >::block_type

◆ iv_generator

template<std::size_t DigestBits>
typedef policy_type::iv_generator nil::crypto3::hashes::blake2b_compressor< DigestBits >::iv_generator

◆ policy_type

template<std::size_t DigestBits>
typedef detail::blake2b_functions<DigestBits> nil::crypto3::hashes::blake2b_compressor< DigestBits >::policy_type
protected

◆ salt_type

template<std::size_t DigestBits>
typedef policy_type::salt_type nil::crypto3::hashes::blake2b_compressor< DigestBits >::salt_type

◆ state_type

template<std::size_t DigestBits>
typedef policy_type::state_type nil::crypto3::hashes::blake2b_compressor< DigestBits >::state_type

◆ value_type

template<std::size_t DigestBits>
typedef policy_type::state_type::value_type nil::crypto3::hashes::blake2b_compressor< DigestBits >::value_type
protected

◆ word_type

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

Member Function Documentation

◆ process_block()

template<std::size_t DigestBits>
static void nil::crypto3::hashes::blake2b_compressor< DigestBits >::process_block ( state_type state,
const block_type block,
value_type  seen = value_type(),
value_type  finalizator = value_type() 
)
inlinestatic

Member Data Documentation

◆ block_bits

template<std::size_t DigestBits>
constexpr static const std::size_t nil::crypto3::hashes::blake2b_compressor< DigestBits >::block_bits = policy_type::block_bits
staticconstexpr

◆ block_words

template<std::size_t DigestBits>
constexpr static const std::size_t nil::crypto3::hashes::blake2b_compressor< DigestBits >::block_words = policy_type::block_words
staticconstexpr

◆ salt_bits

template<std::size_t DigestBits>
constexpr static const std::size_t nil::crypto3::hashes::blake2b_compressor< DigestBits >::salt_bits = policy_type::salt_bits
staticconstexpr

◆ salt_value

template<std::size_t DigestBits>
constexpr static const salt_type nil::crypto3::hashes::blake2b_compressor< DigestBits >::salt_value = policy_type::salt_value
staticconstexpr

◆ state_bits

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

◆ state_words

template<std::size_t DigestBits>
constexpr static const std::size_t nil::crypto3::hashes::blake2b_compressor< DigestBits >::state_words = policy_type::state_words
staticconstexpr

◆ word_bits

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

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