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

#include <cmac_policy.hpp>

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

Public Types

typedef cipher_type::block_type block_type
 
typedef boost::uint_t< CHAR_BIT >::exact byte_type
 
typedef BlockCipher cipher_type
 
typedef static_digest< block_bitsdigest_type
 
typedef cipher_type::key_type key_type
 

Static Public Attributes

constexpr static const std::size_t block_bits = cipher_type::block_bits
 
constexpr static const std::size_t block_words = cipher_type::block_words
 
constexpr static const std::size_t digest_bits = block_bits
 
constexpr static const std::size_t key_bits = cipher_type::key_bits
 
constexpr static const std::size_t key_words = cipher_type::key_words
 

Member Typedef Documentation

◆ block_type

template<typename BlockCipher >
typedef cipher_type::block_type nil::crypto3::mac::detail::cmac_policy< BlockCipher >::block_type

◆ byte_type

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

◆ cipher_type

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

◆ digest_type

◆ key_type

template<typename BlockCipher >
typedef cipher_type::key_type nil::crypto3::mac::detail::cmac_policy< BlockCipher >::key_type

Member Data Documentation

◆ block_bits

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

◆ block_words

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

◆ digest_bits

template<typename BlockCipher >
constexpr static const std::size_t nil::crypto3::mac::detail::cmac_policy< BlockCipher >::digest_bits = block_bits
staticconstexpr

◆ key_bits

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

◆ key_words

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

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