sha2.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: merkle_damgard_padding.hpp:39
Definition: merkle_damgard_construction.hpp:55
policy_type::pkcs_id_type pkcs_id_type
Definition: sha2.hpp:65
constexpr static const std::size_t block_words
Definition: sha2.hpp:57
constexpr static const std::size_t word_bits
Definition: sha2.hpp:53
constexpr static const std::size_t pkcs_id_bits
Definition: sha2.hpp:64
constexpr static const std::size_t digest_bits
Definition: sha2.hpp:60
constexpr static const std::size_t version
Definition: sha2.hpp:51
constexpr static const pkcs_id_type pkcs_id
Definition: sha2.hpp:67
constexpr static const std::size_t block_bits
Definition: sha2.hpp:56
constexpr static const std::size_t pkcs_id_size
Definition: sha2.hpp:63
Definition: pair.hpp:31
Definition: davies_meyer_compressor.hpp:44
Definition: sha2_policy.hpp:63
Definition: sha2.hpp:70
constexpr static const std::size_t digest_bits
Definition: sha2.hpp:74
constexpr static const std::size_t length_bits
Definition: sha2.hpp:73
policy_type::digest_endian digest_endian
Definition: sha2.hpp:71
Definition: sha2.hpp:69
merkle_damgard_construction< params_type, typename policy_type::iv_generator, davies_meyer_compressor< block_cipher_type, detail::state_adder >, detail::merkle_damgard_padding< policy_type > > type
Definition: sha2.hpp:80
Definition: sha2.hpp:85
policy_type::digest_endian digest_endian
Definition: sha2.hpp:86
constexpr static const std::size_t value_bits
Definition: sha2.hpp:88
Definition: sha2.hpp:84
block_stream_processor< construction, StateAccumulator, params_type > type
Definition: sha2.hpp:91