Classes |
Public Types |
Static Public Member Functions |
Static Public Attributes |
List of all members
nil::crypto3::hashes::detail::sha3_policy< DigestBits > Struct Template Reference
#include <sha3_policy.hpp>
Inheritance diagram for nil::crypto3::hashes::detail::sha3_policy< DigestBits >:
Collaboration diagram for nil::crypto3::hashes::detail::sha3_policy< DigestBits >:
Classes | |
struct | iv_generator |
Public Types | |
typedef std::array< word_type, block_words > | block_type |
typedef boost::uint_t< byte_bits >::exact | byte_type |
typedef boost::uint_t< CHAR_BIT >::exact | byte_type |
typedef boost::uint_t< byte_bits >::exact | byte_type |
typedef boost::uint_t< byte_bits >::exact | byte_type |
typedef stream_endian::big_octet_big_bit | digest_endian |
typedef static_digest< digest_bits > | digest_type |
typedef policy_type::pkcs_id_type | pkcs_id_type |
typedef basic_sha3_policy< DigestBits > | policy_type |
typedef std::array< word_type, state_words > | state_type |
typedef policy_type::word_type | word_type |
Static Public Member Functions | |
static word_type | rotl (word_type x) |
static word_type | rotl (word_type x) |
static word_type | rotl (word_type x) |
static word_type | rotl (word_type x) |
static word_type | rotl (word_type x, std::size_t n) |
static word_type | rotl (word_type x, std::size_t n) |
static word_type | rotl (word_type x, std::size_t n) |
static word_type | rotl (word_type x, std::size_t n) |
static word_type | rotr (word_type x) |
static word_type | rotr (word_type x) |
static word_type | rotr (word_type x) |
static word_type | rotr (word_type x) |
static word_type | rotr (word_type x, std::size_t n) |
static word_type | rotr (word_type x, std::size_t n) |
static word_type | rotr (word_type x, std::size_t n) |
static word_type | rotr (word_type x, std::size_t n) |
static word_type | shl (word_type x) |
static word_type | shl (word_type x) |
static word_type | shl (word_type x) |
static word_type | shl (word_type x) |
static word_type | shl (word_type x, std::size_t n) |
static word_type | shl (word_type x, std::size_t n) |
static word_type | shl (word_type x, std::size_t n) |
static word_type | shl (word_type x, std::size_t n) |
static word_type | shr (word_type x) |
static word_type | shr (word_type x) |
static word_type | shr (word_type x) |
static word_type | shr (word_type x) |
static word_type | shr (word_type x, std::size_t n) |
static word_type | shr (word_type x, std::size_t n) |
static word_type | shr (word_type x, std::size_t n) |
static word_type | shr (word_type x, std::size_t n) |
Static Public Attributes | |
constexpr static const std::size_t | block_bits = state_bits - 2 * digest_bits |
constexpr static const std::size_t | block_words = block_bits / word_bits |
constexpr static const std::size_t | byte_bits |
constexpr static const std::size_t | digest_bits = DigestBits |
constexpr static const std::size_t | length_bits = 0 |
constexpr static const pkcs_id_type | pkcs_id = policy_type::pkcs_id |
constexpr static const std::size_t | pkcs_id_bits = policy_type::pkcs_id_bits |
constexpr static const std::size_t | pkcs_id_size = policy_type::pkcs_id_size |
constexpr static const std::size_t | rounds = 24 |
constexpr static const std::size_t | state_bits = 1600 |
constexpr static const std::size_t | state_words = state_bits / word_bits |
constexpr static const std::size_t | word_bits = policy_type::word_bits |
Member Typedef Documentation
◆ block_type
template<std::size_t DigestBits>
typedef std::array<word_type, block_words> nil::crypto3::hashes::detail::sha3_policy< DigestBits >::block_type |
◆ byte_type [1/4]
|
inherited |
◆ byte_type [2/4]
|
inherited |
◆ byte_type [3/4]
|
inherited |
◆ byte_type [4/4]
|
inherited |
◆ digest_endian
template<std::size_t DigestBits>
typedef stream_endian::big_octet_big_bit nil::crypto3::hashes::detail::sha3_policy< DigestBits >::digest_endian |
◆ digest_type
template<std::size_t DigestBits>
typedef static_digest<digest_bits> nil::crypto3::hashes::detail::sha3_policy< DigestBits >::digest_type |
◆ pkcs_id_type
template<std::size_t DigestBits>
typedef policy_type::pkcs_id_type nil::crypto3::hashes::detail::sha3_policy< DigestBits >::pkcs_id_type |
◆ policy_type
template<std::size_t DigestBits>
typedef basic_sha3_policy<DigestBits> nil::crypto3::hashes::detail::sha3_policy< DigestBits >::policy_type |
◆ state_type
template<std::size_t DigestBits>
typedef std::array<word_type, state_words> nil::crypto3::hashes::detail::sha3_policy< DigestBits >::state_type |
◆ word_type
template<std::size_t DigestBits>
typedef policy_type::word_type nil::crypto3::hashes::detail::sha3_policy< DigestBits >::word_type |
Member Function Documentation
◆ rotl() [1/8]
|
inlinestaticinherited |
◆ rotl() [2/8]
|
inlinestaticinherited |
◆ rotl() [3/8]
|
inlinestaticinherited |
◆ rotl() [4/8]
|
inlinestaticinherited |
◆ rotl() [5/8]
|
inlinestaticinherited |
◆ rotl() [6/8]
|
inlinestaticinherited |
◆ rotl() [7/8]
|
inlinestaticinherited |
◆ rotl() [8/8]
|
inlinestaticinherited |
◆ rotr() [1/8]
|
inlinestaticinherited |
◆ rotr() [2/8]
|
inlinestaticinherited |
◆ rotr() [3/8]
|
inlinestaticinherited |
◆ rotr() [4/8]
|
inlinestaticinherited |
◆ rotr() [5/8]
|
inlinestaticinherited |
◆ rotr() [6/8]
|
inlinestaticinherited |
◆ rotr() [7/8]
|
inlinestaticinherited |
◆ rotr() [8/8]
|
inlinestaticinherited |
◆ shl() [1/8]
|
inlinestaticinherited |
◆ shl() [2/8]
|
inlinestaticinherited |
◆ shl() [3/8]
|
inlinestaticinherited |
◆ shl() [4/8]
|
inlinestaticinherited |
◆ shl() [5/8]
|
inlinestaticinherited |
◆ shl() [6/8]
|
inlinestaticinherited |
◆ shl() [7/8]
|
inlinestaticinherited |
◆ shl() [8/8]
|
inlinestaticinherited |
◆ shr() [1/8]
|
inlinestaticinherited |
◆ shr() [2/8]
|
inlinestaticinherited |
◆ shr() [3/8]
|
inlinestaticinherited |
◆ shr() [4/8]
|
inlinestaticinherited |
◆ shr() [5/8]
|
inlinestaticinherited |
◆ shr() [6/8]
|
inlinestaticinherited |
◆ shr() [7/8]
|
inlinestaticinherited |
◆ shr() [8/8]
|
inlinestaticinherited |
Member Data Documentation
◆ block_bits
template<std::size_t DigestBits>
|
staticconstexpr |
◆ block_words
template<std::size_t DigestBits>
|
staticconstexpr |
◆ byte_bits
|
staticconstexprinherited |
◆ digest_bits
template<std::size_t DigestBits>
|
staticconstexpr |
◆ length_bits
template<std::size_t DigestBits>
|
staticconstexpr |
◆ pkcs_id
template<std::size_t DigestBits>
|
staticconstexpr |
◆ pkcs_id_bits
template<std::size_t DigestBits>
|
staticconstexpr |
◆ pkcs_id_size
template<std::size_t DigestBits>
|
staticconstexpr |
◆ rounds
template<std::size_t DigestBits>
|
staticconstexpr |
◆ state_bits
template<std::size_t DigestBits>
|
staticconstexpr |
◆ state_words
template<std::size_t DigestBits>
|
staticconstexpr |
◆ word_bits
template<std::size_t DigestBits>
|
staticconstexpr |
The documentation for this struct was generated from the following file: