nil::crypto3::accumulators::impl::kdf_impl< Mode > Struct Template Reference

#include <kdf.hpp>

+ Inheritance diagram for nil::crypto3::accumulators::impl::kdf_impl< Mode >:
+ Collaboration diagram for nil::crypto3::accumulators::impl::kdf_impl< Mode >:

Public Types

typedef digest< block_bitsresult_type
 

Public Member Functions

template<typename Args >
 kdf_impl (const Args &args)
 
template<typename ArgumentPack >
void operator() (const ArgumentPack &args)
 
template<typename ArgumentPack >
result_type result (const ArgumentPack &args) const
 

Protected Types

typedef mode_type::block_type block_type
 
typedef boost::container::static_vector< word_type, block_wordscache_type
 
typedef Mode::cipher_type cipher_type
 
typedef mode_type::finalizer_type finalizer_type
 
typedef Mode mode_type
 
typedef Mode::padding_type padding_type
 
typedef mode_type::state_type state_type
 
typedef mode_type::word_type word_type
 

Protected Member Functions

void process (const block_type &block, std::size_t bits)
 
void process (const word_type &value, std::size_t bits)
 
void resolve_type (const block_type &value, std::size_t bits)
 
void resolve_type (const word_type &value, std::size_t bits)
 

Protected Attributes

cache_type cache
 
block::cipher< cipher_type, mode_type, padding_typecipher
 
result_type dgst
 
std::size_t seen
 

Static Protected Attributes

constexpr static const std::size_t block_bits = mode_type::block_bits
 
constexpr static const std::size_t block_words = mode_type::block_words
 
constexpr static const std::size_t state_bits = mode_type::state_bits
 
constexpr static const std::size_t state_words = mode_type::state_words
 
constexpr static const std::size_t word_bits = mode_type::word_bits
 

Member Typedef Documentation

◆ block_type

template<typename Mode >
typedef mode_type::block_type nil::crypto3::accumulators::impl::kdf_impl< Mode >::block_type
protected

◆ cache_type

template<typename Mode >
typedef boost::container::static_vector<word_type, block_words> nil::crypto3::accumulators::impl::kdf_impl< Mode >::cache_type
protected

◆ cipher_type

template<typename Mode >
typedef Mode::cipher_type nil::crypto3::accumulators::impl::kdf_impl< Mode >::cipher_type
protected

◆ finalizer_type

template<typename Mode >
typedef mode_type::finalizer_type nil::crypto3::accumulators::impl::kdf_impl< Mode >::finalizer_type
protected

◆ mode_type

template<typename Mode >
typedef Mode nil::crypto3::accumulators::impl::kdf_impl< Mode >::mode_type
protected

◆ padding_type

template<typename Mode >
typedef Mode::padding_type nil::crypto3::accumulators::impl::kdf_impl< Mode >::padding_type
protected

◆ result_type

template<typename Mode >
typedef digest<block_bits> nil::crypto3::accumulators::impl::kdf_impl< Mode >::result_type

◆ state_type

template<typename Mode >
typedef mode_type::state_type nil::crypto3::accumulators::impl::kdf_impl< Mode >::state_type
protected

◆ word_type

template<typename Mode >
typedef mode_type::word_type nil::crypto3::accumulators::impl::kdf_impl< Mode >::word_type
protected

Constructor & Destructor Documentation

◆ kdf_impl()

template<typename Mode >
template<typename Args >
nil::crypto3::accumulators::impl::kdf_impl< Mode >::kdf_impl ( const Args &  args)
inline

Member Function Documentation

◆ operator()()

template<typename Mode >
template<typename ArgumentPack >
void nil::crypto3::accumulators::impl::kdf_impl< Mode >::operator() ( const ArgumentPack &  args)
inline

◆ process() [1/2]

template<typename Mode >
void nil::crypto3::accumulators::impl::kdf_impl< Mode >::process ( const block_type block,
std::size_t  bits 
)
inlineprotected

◆ process() [2/2]

template<typename Mode >
void nil::crypto3::accumulators::impl::kdf_impl< Mode >::process ( const word_type value,
std::size_t  bits 
)
inlineprotected

◆ resolve_type() [1/2]

template<typename Mode >
void nil::crypto3::accumulators::impl::kdf_impl< Mode >::resolve_type ( const block_type value,
std::size_t  bits 
)
inlineprotected

◆ resolve_type() [2/2]

template<typename Mode >
void nil::crypto3::accumulators::impl::kdf_impl< Mode >::resolve_type ( const word_type value,
std::size_t  bits 
)
inlineprotected

◆ result()

template<typename Mode >
template<typename ArgumentPack >
result_type nil::crypto3::accumulators::impl::kdf_impl< Mode >::result ( const ArgumentPack &  args) const
inline

Member Data Documentation

◆ block_bits

template<typename Mode >
constexpr static const std::size_t nil::crypto3::accumulators::impl::kdf_impl< Mode >::block_bits = mode_type::block_bits
staticconstexprprotected

◆ block_words

template<typename Mode >
constexpr static const std::size_t nil::crypto3::accumulators::impl::kdf_impl< Mode >::block_words = mode_type::block_words
staticconstexprprotected

◆ cache

template<typename Mode >
cache_type nil::crypto3::accumulators::impl::kdf_impl< Mode >::cache
protected

◆ cipher

template<typename Mode >
block::cipher<cipher_type, mode_type, padding_type> nil::crypto3::accumulators::impl::kdf_impl< Mode >::cipher
protected

◆ dgst

template<typename Mode >
result_type nil::crypto3::accumulators::impl::kdf_impl< Mode >::dgst
protected

◆ seen

template<typename Mode >
std::size_t nil::crypto3::accumulators::impl::kdf_impl< Mode >::seen
protected

◆ state_bits

template<typename Mode >
constexpr static const std::size_t nil::crypto3::accumulators::impl::kdf_impl< Mode >::state_bits = mode_type::state_bits
staticconstexprprotected

◆ state_words

template<typename Mode >
constexpr static const std::size_t nil::crypto3::accumulators::impl::kdf_impl< Mode >::state_words = mode_type::state_words
staticconstexprprotected

◆ word_bits

template<typename Mode >
constexpr static const std::size_t nil::crypto3::accumulators::impl::kdf_impl< Mode >::word_bits = mode_type::word_bits
staticconstexprprotected

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