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

#include <cbc_mac_policy.hpp>

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

Public Types

typedef cipher_type::block_type block_type
 
typedef BlockCipher cipher_type
 
typedef static_digest< block_bitsdigest_type
 
typedef cipher_type::key_type key_type
 
typedef block_type state_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
 
constexpr static const std::size_t state_bits = block_bits
 
constexpr static const std::size_t state_words = block_words
 

Member Typedef Documentation

◆ block_type

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

◆ cipher_type

◆ digest_type

◆ key_type

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

◆ state_type

template<typename BlockCipher >
typedef block_type nil::crypto3::mac::detail::cbc_mac_policy< BlockCipher >::state_type

Member Data Documentation

◆ block_bits

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

◆ block_words

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

◆ digest_bits

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

◆ key_bits

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

◆ key_words

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

◆ state_bits

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

◆ state_words

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

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