fixed_block_stream_processor.hpp
Go to the documentation of this file.
87 ::nil::crypto3::detail::pack_to<endian_type, value_bits, input_value_bits>(cache.begin(), cache.end(), block.begin());
113 ::nil::crypto3::detail::pack_to<endian_type, value_bits, input_value_bits>(first, first + block_values, block.begin());
143 ::nil::crypto3::detail::pack_to<endian_type, value_bits, input_value_bits>(cache.begin(), cache.begin() + cache.size(), block.begin());
boost::mpl::apply< AccumulatorSet, tag::block< Mode > >::type::result_type block(const AccumulatorSet &acc)
Definition: accumulators/block.hpp:259
boost::mpl::apply< AccumulatorSet, tag::codec< Mode > >::type::result_type codec(const AccumulatorSet &acc)
Definition: accumulators/codec.hpp:261
typename std::iterator_traits< Iterator >::value_type ValueType
Definition: algebra/include/nil/crypto3/detail/make_array.hpp:50
Definition: pair.hpp:31
Definition: fixed_block_stream_processor.hpp:46
StateAccumulator accumulator_type
Definition: fixed_block_stream_processor.hpp:49
constexpr static const std::size_t value_bits
Definition: fixed_block_stream_processor.hpp:61
void operator()(const std::initializer_list< ValueType > &il)
Definition: fixed_block_stream_processor.hpp:177
boost::uint_t< value_bits >::least value_type
Definition: fixed_block_stream_processor.hpp:62
void operator()(InputIterator b, InputIterator e)
Definition: fixed_block_stream_processor.hpp:171
void operator()(InputIterator first, InputIterator last, Category)
Definition: fixed_block_stream_processor.hpp:158
void reset()
Definition: fixed_block_stream_processor.hpp:181
cache_type cache
Definition: fixed_block_stream_processor.hpp:188
length_type seen
Definition: fixed_block_stream_processor.hpp:187
virtual ~fixed_block_stream_processor()
Definition: fixed_block_stream_processor.hpp:138
Params params_type
Definition: fixed_block_stream_processor.hpp:50
void operator()(const ValueType &value)
Definition: fixed_block_stream_processor.hpp:166
fixed_block_stream_processor(accumulator_type &s)
Definition: fixed_block_stream_processor.hpp:135
mode_type::input_block_type input_block_type
Definition: fixed_block_stream_processor.hpp:53
params_type::endian_type endian_type
Definition: fixed_block_stream_processor.hpp:59
input_block_type::value_type input_value_type
Definition: fixed_block_stream_processor.hpp:56
BOOST_STATIC_ASSERT(input_block_bits % value_bits==0)
std::array< value_type, block_values > cache_type
Definition: fixed_block_stream_processor.hpp:65
constexpr static const std::size_t input_value_bits
Definition: fixed_block_stream_processor.hpp:55
void operator()(InputIterator b, InputIterator e, std::random_access_iterator_tag)
Definition: fixed_block_stream_processor.hpp:153
accumulator_type & state
Definition: fixed_block_stream_processor.hpp:185
constexpr static const std::size_t block_values
Definition: fixed_block_stream_processor.hpp:64
constexpr static const std::size_t input_block_bits
Definition: fixed_block_stream_processor.hpp:52
Mode mode_type
Definition: fixed_block_stream_processor.hpp:48