block/include/nil/crypto3/block/detail/block_stream_processor.hpp
Go to the documentation of this file.
61 constexpr static const std::size_t actual_bits = sizeof(typename block_type::value_type) * CHAR_BIT;
boost::mpl::apply< AccumulatorSet, tag::block< Mode > >::type::result_type block(const AccumulatorSet &acc)
Definition: accumulators/block.hpp:259
Definition: algebra/include/nil/crypto3/detail/make_array.hpp:33
typename std::iterator_traits< Iterator >::value_type ValueType
Definition: algebra/include/nil/crypto3/detail/make_array.hpp:50
Definition: pair.hpp:31
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:50
void update_one(value_type value)
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:98
void operator()(const std::initializer_list< ValueType > &il)
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:157
BOOST_STATIC_ASSERT(block_bits % value_bits==0)
void operator()(InputIterator b, InputIterator e, std::random_access_iterator_tag)
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:133
void operator()(const ValueType &value)
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:146
void update_n(InputIterator p, size_t n)
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:109
StateAccumulator & acc
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:165
constexpr static const std::size_t value_bits
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:66
block_stream_processor(StateAccumulator &s)
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:122
void update_n(InputIterator first, InputIterator last)
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:116
void reset()
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:161
cache_type cache
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:168
virtual ~block_stream_processor()
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:125
mode_type::endian_type endian_type
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:64
constexpr static const std::size_t block_values
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:69
void operator()(InputIterator b, InputIterator e)
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:151
boost::uint_t< value_bits >::least value_type
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:67
void operator()(InputIterator first, InputIterator last, Category)
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:138
std::array< value_type, block_values > cache_type
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:70
length_type cache_seen
Definition: block/include/nil/crypto3/block/detail/block_stream_processor.hpp:167