nil::crypto3::mac::detail::x919_mac_policy< BlockCipher > Struct Template Reference

#include <x919_mac_policy.hpp>

+ Collaboration diagram for nil::crypto3::mac::detail::x919_mac_policy< BlockCipher >:

Public Types

typedef boost::uint_t< CHAR_BIT >::exact byte_type
 
typedef BlockCipher cipher_type
 
typedef std::array< byte_type, digest_sizedigest_type
 
typedef cipher_type::key_schedule_type key_schedule_type
 
typedef boost::container::static_vector< word_type, 2 *key_wordskey_type
 
typedef cipher_type::word_type word_type
 

Static Public Attributes

constexpr static const std::size_t digest_bits = 8 * CHAR_BIT
 
constexpr static const std::size_t digest_size = 8
 
constexpr static const std::size_t key_bits = cipher_type::key_bits
 
constexpr static const std::size_t key_schedule_bits = cipher_type::key_schedule_bits
 
constexpr static const std::size_t key_schedule_words = cipher_type::key_schedule_words
 
constexpr static const std::size_t key_words = cipher_type::key_words
 
constexpr static const std::size_t word_bits = cipher_type::word_bits
 

Member Typedef Documentation

◆ byte_type

template<typename BlockCipher >
typedef boost::uint_t<CHAR_BIT>::exact nil::crypto3::mac::detail::x919_mac_policy< BlockCipher >::byte_type

◆ cipher_type

◆ digest_type

template<typename BlockCipher >
typedef std::array<byte_type, digest_size> nil::crypto3::mac::detail::x919_mac_policy< BlockCipher >::digest_type

◆ key_schedule_type

template<typename BlockCipher >
typedef cipher_type::key_schedule_type nil::crypto3::mac::detail::x919_mac_policy< BlockCipher >::key_schedule_type

◆ key_type

template<typename BlockCipher >
typedef boost::container::static_vector<word_type, 2 * key_words> nil::crypto3::mac::detail::x919_mac_policy< BlockCipher >::key_type

◆ word_type

template<typename BlockCipher >
typedef cipher_type::word_type nil::crypto3::mac::detail::x919_mac_policy< BlockCipher >::word_type

Member Data Documentation

◆ digest_bits

template<typename BlockCipher >
constexpr static const std::size_t nil::crypto3::mac::detail::x919_mac_policy< BlockCipher >::digest_bits = 8 * CHAR_BIT
staticconstexpr

◆ digest_size

template<typename BlockCipher >
constexpr static const std::size_t nil::crypto3::mac::detail::x919_mac_policy< BlockCipher >::digest_size = 8
staticconstexpr

◆ key_bits

template<typename BlockCipher >
constexpr static const std::size_t nil::crypto3::mac::detail::x919_mac_policy< BlockCipher >::key_bits = cipher_type::key_bits
staticconstexpr

◆ key_schedule_bits

template<typename BlockCipher >
constexpr static const std::size_t nil::crypto3::mac::detail::x919_mac_policy< BlockCipher >::key_schedule_bits = cipher_type::key_schedule_bits
staticconstexpr

◆ key_schedule_words

template<typename BlockCipher >
constexpr static const std::size_t nil::crypto3::mac::detail::x919_mac_policy< BlockCipher >::key_schedule_words = cipher_type::key_schedule_words
staticconstexpr

◆ key_words

template<typename BlockCipher >
constexpr static const std::size_t nil::crypto3::mac::detail::x919_mac_policy< BlockCipher >::key_words = cipher_type::key_words
staticconstexpr

◆ word_bits

template<typename BlockCipher >
constexpr static const std::size_t nil::crypto3::mac::detail::x919_mac_policy< BlockCipher >::word_bits = cipher_type::word_bits
staticconstexpr

The documentation for this struct was generated from the following file: