hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp
Go to the documentation of this file.
This will do the usual Merkle-Damgård-style strengthening, padding with a 1 bit, then 0 bits as neede...
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:55
std::array< value_type, block_values > cache_type
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:73
constexpr static const std::size_t word_bits
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:61
BOOST_STATIC_ASSERT(word_bits % value_bits==0)
block_stream_processor(accumulator_type &acc)
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:136
constexpr static const std::size_t block_bits
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:63
Construction::type construction_type
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:57
void update_n(InputIterator p, size_t n)
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:99
void update_one(value_type value)
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:88
void operator()(InputIterator b, InputIterator e)
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:124
StateAccumulator accumulator_type
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:58
BOOST_STATIC_ASSERT(block_bits % value_bits==0)
Params params_type
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:59
void operator()(const ContainerT &c)
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:131
constexpr static const std::size_t block_values
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:72
construction_type::block_type block_type
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:64
params_type::digest_endian endian_type
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:67
boost::uint_t< value_bits >::least value_type
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:70
constexpr static const std::size_t value_bits
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:69
void operator()(InputIterator b, InputIterator e, Category)
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:117
void update_n(InputIterator first, InputIterator last)
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:106
virtual ~block_stream_processor()
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:139
void process_block(std::size_t block_seen=block_bits)
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:78
void operator()(InputIterator b, InputIterator e, std::random_access_iterator_tag)
Definition: hash/include/nil/crypto3/hash/detail/block_stream_processor.hpp:112
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
Definition: pair.hpp:31