nil::crypto3::hashes::detail::sha_policy Struct Reference
#include <sha_policy.hpp>
Collaboration diagram for nil::crypto3::hashes::detail::sha_policy:
Classes | |
struct | iv_generator |
Public Types | |
typedef block::shacal0 | block_cipher_type |
typedef block_cipher_type::key_type | block_type |
typedef stream_endian::big_octet_big_bit | digest_endian |
typedef static_digest< digest_bits > | digest_type |
typedef std::array< std::uint8_t, 15 > | pkcs_id_type |
typedef block_cipher_type::block_type | state_type |
typedef block_cipher_type::word_type | word_type |
Static Public Attributes | |
constexpr static const std::size_t | block_bits = block_cipher_type::key_bits |
constexpr static const std::size_t | block_words = block_cipher_type::key_words |
constexpr static const std::size_t | digest_bits = 160 |
constexpr static const std::uint8_t | ieee1363_hash_id = 0x33 |
constexpr static const std::size_t | length_bits = word_bits * 2 |
constexpr static const pkcs_id_type | pkcs_id |
constexpr static const std::size_t | state_bits = block_cipher_type::block_bits |
constexpr static const std::size_t | state_words = block_cipher_type::block_words |
constexpr static const std::size_t | word_bits = block_cipher_type::word_bits |
Member Typedef Documentation
◆ block_cipher_type
◆ block_type
◆ digest_endian
◆ digest_type
◆ pkcs_id_type
typedef std::array<std::uint8_t, 15> nil::crypto3::hashes::detail::sha_policy::pkcs_id_type |
◆ state_type
◆ word_type
Member Data Documentation
◆ block_bits
|
staticconstexpr |
◆ block_words
|
staticconstexpr |
◆ digest_bits
|
staticconstexpr |
◆ ieee1363_hash_id
|
staticconstexpr |
◆ length_bits
|
staticconstexpr |
◆ pkcs_id
|
staticconstexpr |
Initial value:
= {0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2B, 0x0E,
0x03, 0x02, 0x1A, 0x05, 0x00, 0x04, 0x14}
◆ state_bits
|
staticconstexpr |
◆ state_words
|
staticconstexpr |
◆ word_bits
|
staticconstexpr |
The documentation for this struct was generated from the following file: