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

#include <sha3.hpp>

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

Public Types

typedef policy_type::block_type block_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)
 

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 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::sha3_functions< DigestBits > policy_type
 

Member Typedef Documentation

◆ block_type

template<std::size_t DigestBits = 512>
typedef policy_type::block_type nil::crypto3::hashes::sha3_compressor< DigestBits >::block_type

◆ policy_type

template<std::size_t DigestBits = 512>
typedef detail::sha3_functions<DigestBits> nil::crypto3::hashes::sha3_compressor< DigestBits >::policy_type
protected

◆ state_type

template<std::size_t DigestBits = 512>
typedef policy_type::state_type nil::crypto3::hashes::sha3_compressor< DigestBits >::state_type

◆ word_type

template<std::size_t DigestBits = 512>
typedef policy_type::word_type nil::crypto3::hashes::sha3_compressor< DigestBits >::word_type

Member Function Documentation

◆ process_block()

template<std::size_t DigestBits = 512>
static void nil::crypto3::hashes::sha3_compressor< DigestBits >::process_block ( state_type state,
const block_type block 
)
inlinestatic

Member Data Documentation

◆ block_bits

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

◆ block_words

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

◆ state_bits

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

◆ state_words

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

◆ word_bits

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

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