sha.hpp
Go to the documentation of this file.
Shacal. Merkle-Damgård construction foundation for SHA hashes.
Definition: shacal.hpp:52
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
SHA. Initial SHA hashes construction. Not considered to be a cryptographically secure primitive latel...
Definition: sha.hpp:46
constexpr static const std::size_t word_bits
Definition: sha.hpp:51
constexpr static const std::size_t block_words
Definition: sha.hpp:55
constexpr static const std::size_t block_bits
Definition: sha.hpp:54
constexpr static const std::size_t digest_bits
Definition: sha.hpp:58
Definition: block/include/nil/crypto3/detail/static_digest.hpp:72
Definition: pair.hpp:31
Definition: davies_meyer_compressor.hpp:44
Definition: sha_policy.hpp:64
Definition: sha_policy.hpp:37
constexpr static const std::size_t block_bits
Definition: sha_policy.hpp:47
constexpr static const std::size_t word_bits
Definition: sha_policy.hpp:40
constexpr static const std::size_t block_words
Definition: sha_policy.hpp:48
constexpr static const std::size_t digest_bits
Definition: sha_policy.hpp:55
block_cipher_type::key_type block_type
Definition: sha_policy.hpp:49
block_cipher_type::word_type word_type
Definition: sha_policy.hpp:41
constexpr static const std::size_t length_bits
Definition: sha_policy.hpp:51
Definition: sha.hpp:62
policy_type::digest_endian digest_endian
Definition: sha.hpp:63
constexpr static const std::size_t length_bits
Definition: sha.hpp:65
constexpr static const std::size_t digest_bits
Definition: sha.hpp:66
Definition: sha.hpp:61
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: sha.hpp:72
Definition: sha.hpp:77
policy_type::digest_endian digest_endian
Definition: sha.hpp:78
constexpr static const std::size_t value_bits
Definition: sha.hpp:80
Definition: sha.hpp:76
block_stream_processor< construction, StateAccumulator, params_type > type
Definition: sha.hpp:83
Definition: algebra/include/nil/crypto3/detail/stream_endian.hpp:39