nil::crypto3::hashes::detail::sha2_policy< 256 > Struct Reference
#include <sha2_policy.hpp>
Inheritance diagram for nil::crypto3::hashes::detail::sha2_policy< 256 >:
Collaboration diagram for nil::crypto3::hashes::detail::sha2_policy< 256 >:
Classes | |
struct | iv_generator |
Public Types | |
typedef block::shacal2< cipher_version > | 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, pkcs_id_size > | 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 |
constexpr static const std::size_t | block_words |
constexpr static const std::size_t | cipher_version |
constexpr static const std::size_t | digest_bits = 256 |
constexpr static const std::uint8_t | ieee1363_hash_id = 0x34 |
constexpr static const std::size_t | length_bits |
constexpr static const pkcs_id_type | pkcs_id |
constexpr static const std::size_t | pkcs_id_bits = pkcs_id_size * CHAR_BIT |
constexpr static const std::size_t | pkcs_id_size = 19 |
constexpr static const std::size_t | state_bits |
constexpr static const std::size_t | state_words |
constexpr static const std::size_t | word_bits |
Member Typedef Documentation
◆ block_cipher_type
|
inherited |
◆ block_type
|
inherited |
◆ digest_endian
|
inherited |
◆ digest_type
typedef static_digest<digest_bits> nil::crypto3::hashes::detail::sha2_policy< 256 >::digest_type |
◆ pkcs_id_type
typedef std::array<std::uint8_t, pkcs_id_size> nil::crypto3::hashes::detail::sha2_policy< 256 >::pkcs_id_type |
◆ state_type
|
inherited |
◆ word_type
|
inherited |
Member Data Documentation
◆ block_bits
|
staticconstexprinherited |
◆ block_words
|
staticconstexprinherited |
◆ cipher_version
|
staticconstexprinherited |
◆ digest_bits
|
staticconstexpr |
◆ ieee1363_hash_id
|
staticconstexpr |
◆ length_bits
|
staticconstexprinherited |
◆ pkcs_id
|
staticconstexpr |
Initial value:
= {0x30, 0x2D, 0x30, 0x0D, 0x06, 0x09, 0x60,
0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02,
0x04, 0x05, 0x00, 0x04, 0x20}
◆ pkcs_id_bits
|
staticconstexpr |
◆ pkcs_id_size
|
staticconstexpr |
◆ state_bits
|
staticconstexprinherited |
◆ state_words
|
staticconstexprinherited |
◆ word_bits
|
staticconstexprinherited |
The documentation for this struct was generated from the following file: