nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > > Struct Template Reference

#include <codec.hpp>

+ Inheritance diagram for nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >:
+ Collaboration diagram for nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >:

Public Types

typedef digest< output_block_bitsresult_type
 

Public Member Functions

 codec_impl (boost::accumulators::dont_care)
 
template<typename ArgumentPack >
void operator() (const ArgumentPack &args)
 
result_type result (boost::accumulators::dont_care) const
 

Protected Types

typedef preprocessing_accumulator_mode< CodecMode > accumulator_mode_type
 
typedef boost::container::static_vector< input_value_type, input_block_valuescache_type
 
typedef CodecMode codec_mode_type
 
typedef codec_mode_type::finalizer_type finalizer_type
 
typedef codec_mode_type::input_block_type input_block_type
 
typedef input_block_type::value_type input_value_type
 
typedef codec_mode_type::output_block_type output_block_type
 
typedef output_block_type::value_type output_value_type
 
typedef codec_mode_type::preprocessor_type preprocessor_type
 

Protected Member Functions

void process (const input_block_type &block, std::size_t)
 
void process (const input_value_type &value, std::size_t)
 
void resolve_type (const input_block_type &value, std::size_t bits)
 
void resolve_type (const input_value_type &value, std::size_t bits)
 

Protected Attributes

cache_type cache
 
result_type dgst
 
std::size_t seen
 

Static Protected Attributes

constexpr static const std::size_t input_block_bits = codec_mode_type::input_block_bits
 
constexpr static const std::size_t input_block_values = codec_mode_type::input_block_values
 
constexpr static const std::size_t input_value_bits = codec_mode_type::input_value_bits
 
constexpr static const std::size_t output_block_bits = codec_mode_type::output_block_bits
 
constexpr static const std::size_t output_block_values = codec_mode_type::output_block_values
 
constexpr static const std::size_t output_value_bits = codec_mode_type::output_value_bits
 

Member Typedef Documentation

◆ accumulator_mode_type

template<typename CodecMode >
typedef preprocessing_accumulator_mode<CodecMode> nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::accumulator_mode_type
protected

◆ cache_type

template<typename CodecMode >
typedef boost::container::static_vector<input_value_type, input_block_values> nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::cache_type
protected

◆ codec_mode_type

template<typename CodecMode >
typedef CodecMode nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::codec_mode_type
protected

◆ finalizer_type

template<typename CodecMode >
typedef codec_mode_type::finalizer_type nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::finalizer_type
protected

◆ input_block_type

template<typename CodecMode >
typedef codec_mode_type::input_block_type nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::input_block_type
protected

◆ input_value_type

template<typename CodecMode >
typedef input_block_type::value_type nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::input_value_type
protected

◆ output_block_type

template<typename CodecMode >
typedef codec_mode_type::output_block_type nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::output_block_type
protected

◆ output_value_type

template<typename CodecMode >
typedef output_block_type::value_type nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::output_value_type
protected

◆ preprocessor_type

template<typename CodecMode >
typedef codec_mode_type::preprocessor_type nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::preprocessor_type
protected

◆ result_type

template<typename CodecMode >
typedef digest<output_block_bits> nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::result_type

Constructor & Destructor Documentation

◆ codec_impl()

template<typename CodecMode >
nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::codec_impl ( boost::accumulators::dont_care  )
inline

Member Function Documentation

◆ operator()()

template<typename CodecMode >
template<typename ArgumentPack >
void nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::operator() ( const ArgumentPack &  args)
inline

◆ process() [1/2]

template<typename CodecMode >
void nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::process ( const input_block_type block,
std::size_t   
)
inlineprotected

◆ process() [2/2]

template<typename CodecMode >
void nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::process ( const input_value_type value,
std::size_t   
)
inlineprotected

◆ resolve_type() [1/2]

template<typename CodecMode >
void nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::resolve_type ( const input_block_type value,
std::size_t  bits 
)
inlineprotected

◆ resolve_type() [2/2]

template<typename CodecMode >
void nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::resolve_type ( const input_value_type value,
std::size_t  bits 
)
inlineprotected

◆ result()

template<typename CodecMode >
result_type nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::result ( boost::accumulators::dont_care  ) const
inline

Member Data Documentation

◆ cache

template<typename CodecMode >
cache_type nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::cache
protected

◆ dgst

template<typename CodecMode >
result_type nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::dgst
protected

◆ input_block_bits

template<typename CodecMode >
constexpr static const std::size_t nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::input_block_bits = codec_mode_type::input_block_bits
staticconstexprprotected

◆ input_block_values

template<typename CodecMode >
constexpr static const std::size_t nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::input_block_values = codec_mode_type::input_block_values
staticconstexprprotected

◆ input_value_bits

template<typename CodecMode >
constexpr static const std::size_t nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::input_value_bits = codec_mode_type::input_value_bits
staticconstexprprotected

◆ output_block_bits

template<typename CodecMode >
constexpr static const std::size_t nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::output_block_bits = codec_mode_type::output_block_bits
staticconstexprprotected

◆ output_block_values

template<typename CodecMode >
constexpr static const std::size_t nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::output_block_values = codec_mode_type::output_block_values
staticconstexprprotected

◆ output_value_bits

template<typename CodecMode >
constexpr static const std::size_t nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::output_value_bits = codec_mode_type::output_value_bits
staticconstexprprotected

◆ seen

template<typename CodecMode >
std::size_t nil::crypto3::accumulators::impl::codec_impl< CodecMode, preprocessing_accumulator_mode< CodecMode > >::seen
protected

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