poseidon.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
Definition: poseidon.hpp:21
detail::poseidon_functions< FieldType, Arity, PartRounds > policy_type
Definition: poseidon.hpp:23
constexpr static const std::size_t state_bits
Definition: poseidon.hpp:29
static void process_block(state_type &state, const block_type &block)
Definition: poseidon.hpp:37
constexpr static const std::size_t block_bits
Definition: poseidon.hpp:33
constexpr static const std::size_t block_words
Definition: poseidon.hpp:34
policy_type::word_type word_type
Definition: poseidon.hpp:27
policy_type::block_type block_type
Definition: poseidon.hpp:35
constexpr static const std::size_t word_bits
Definition: poseidon.hpp:26
policy_type::state_type state_type
Definition: poseidon.hpp:31
constexpr static const std::size_t state_words
Definition: poseidon.hpp:30
boost::mpl::apply< AccumulatorSet, tag::block< Mode > >::type::result_type block(const AccumulatorSet &acc)
Definition: accumulators/block.hpp:259
Definition: pair.hpp:31
Definition: poseidon_functions.hpp:23
policy_type::block_type block_type
Definition: poseidon_functions.hpp:38
static void permute(state_type &A)
Definition: poseidon_functions.hpp:60
constexpr static const std::size_t state_bits
Definition: poseidon_functions.hpp:32
constexpr static const std::size_t state_words
Definition: poseidon_functions.hpp:33
constexpr static const std::size_t block_words
Definition: poseidon_functions.hpp:37
constexpr static const std::size_t block_bits
Definition: poseidon_functions.hpp:36
policy_type::word_type word_type
Definition: poseidon_functions.hpp:45
constexpr static const std::size_t word_bits
Definition: poseidon_functions.hpp:44
policy_type::state_type state_type
Definition: poseidon_functions.hpp:34
Definition: poseidon_policy.hpp:65
Definition: poseidon.hpp:69
policy_type::digest_endian digest_endian
Definition: poseidon.hpp:70
constexpr static const std::size_t digest_bits
Definition: poseidon.hpp:73
Definition: poseidon.hpp:68
Definition: poseidon.hpp:86
policy_type::digest_endian digest_endian
Definition: poseidon.hpp:87
constexpr static const std::size_t value_bits
Definition: poseidon.hpp:89
Definition: poseidon.hpp:85
block_stream_processor< construction, StateAccumulator, params_type > type
Definition: poseidon.hpp:92
Definition: poseidon.hpp:53
policy_type::digest_type digest_type
Definition: poseidon.hpp:66
policy_type::block_type block_type
Definition: poseidon.hpp:63
detail::poseidon_policy< FieldType, Arity, PartRounds > policy_type
Definition: poseidon.hpp:55
constexpr static const std::size_t block_bits
Definition: poseidon.hpp:61
constexpr static const std::size_t digest_bits
Definition: poseidon.hpp:65
constexpr static const std::size_t word_bits
Definition: poseidon.hpp:58
constexpr static const std::size_t block_words
Definition: poseidon.hpp:62
policy_type::word_type word_type
Definition: poseidon.hpp:59