nil::crypto3::block::modes::detail::authenticated_encryption_associated_data_policy< Cipher, Padding, Allocator > Struct Template Reference

#include <aead.hpp>

+ Inheritance diagram for nil::crypto3::block::modes::detail::authenticated_encryption_associated_data_policy< Cipher, Padding, Allocator >:
+ Collaboration diagram for nil::crypto3::block::modes::detail::authenticated_encryption_associated_data_policy< Cipher, Padding, Allocator >:

Public Types

template<typename T >
using allocator_type = Allocator< T >
 
typedef std::vector< boost::uint_t< CHAR_BIT >, Allocator< boost::uint_t< CHAR_BIT > > > associated_data_type
 
typedef cipher_type::block_type block_type
 
typedef Cipher cipher_type
 
typedef Padding padding_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
 

Member Typedef Documentation

◆ allocator_type

template<typename Cipher , typename Padding , template< typename > class Allocator>
template<typename T >
using nil::crypto3::block::modes::detail::authenticated_encryption_associated_data_policy< Cipher, Padding, Allocator >::allocator_type = Allocator<T>

◆ associated_data_type

template<typename Cipher , typename Padding , template< typename > class Allocator>
typedef std::vector<boost::uint_t<CHAR_BIT>, Allocator<boost::uint_t<CHAR_BIT> > > nil::crypto3::block::modes::detail::authenticated_encryption_associated_data_policy< Cipher, Padding, Allocator >::associated_data_type

◆ block_type

template<typename Cipher , typename Padding , template< typename > class Allocator>
typedef cipher_type::block_type nil::crypto3::block::modes::detail::authenticated_encryption_associated_data_policy< Cipher, Padding, Allocator >::block_type

◆ cipher_type

template<typename Cipher , typename Padding , template< typename > class Allocator>
typedef Cipher nil::crypto3::block::modes::detail::authenticated_encryption_associated_data_policy< Cipher, Padding, Allocator >::cipher_type

◆ padding_type

template<typename Cipher , typename Padding , template< typename > class Allocator>
typedef Padding nil::crypto3::block::modes::detail::authenticated_encryption_associated_data_policy< Cipher, Padding, Allocator >::padding_type

Member Data Documentation

◆ block_bits

template<typename Cipher , typename Padding , template< typename > class Allocator>
constexpr static const std::size_t nil::crypto3::block::modes::detail::authenticated_encryption_associated_data_policy< Cipher, Padding, Allocator >::block_bits = cipher_type::block_bits
staticconstexpr

◆ block_words

template<typename Cipher , typename Padding , template< typename > class Allocator>
constexpr static const std::size_t nil::crypto3::block::modes::detail::authenticated_encryption_associated_data_policy< Cipher, Padding, Allocator >::block_words = cipher_type::block_words
staticconstexpr

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