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

#include <aead.hpp>

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

Public Types

template<typename T >
using allocator_type = Allocator< T >
 
typedef policy_type::associated_data_type associated_data_type
 
typedef policy_type::block_type block_type
 
typedef policy_type::cipher_type cipher_type
 
typedef policy_type::padding_type padding_type
 
typedef aead_policy< Cipher, Padding, Allocator > policy_type
 

Static Public Member Functions

static block_type begin_message (const cipher_type &cipher, const block_type &plaintext)
 
static block_type end_message (const cipher_type &cipher, const block_type &plaintext)
 
static block_type process_block (const cipher_type &cipher, const block_type &plaintext)
 

Static Public Attributes

constexpr static const std::size_t block_bits = policy_type::block_bits
 
constexpr static const std::size_t block_words = policy_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>
inherited

◆ associated_data_type

template<typename Cipher , typename Padding , template< typename > class Allocator>
typedef policy_type::associated_data_type nil::crypto3::block::modes::detail::authenticated_encryption_associated_data_encryption_policy< Cipher, Padding, Allocator >::associated_data_type

◆ block_type

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

◆ cipher_type

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

◆ padding_type

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

◆ policy_type

template<typename Cipher , typename Padding , template< typename > class Allocator>
typedef aead_policy<Cipher, Padding, Allocator> nil::crypto3::block::modes::detail::authenticated_encryption_associated_data_encryption_policy< Cipher, Padding, Allocator >::policy_type

Member Function Documentation

◆ begin_message()

template<typename Cipher , typename Padding , template< typename > class Allocator>
static block_type nil::crypto3::block::modes::detail::authenticated_encryption_associated_data_encryption_policy< Cipher, Padding, Allocator >::begin_message ( const cipher_type cipher,
const block_type plaintext 
)
inlinestatic

◆ end_message()

template<typename Cipher , typename Padding , template< typename > class Allocator>
static block_type nil::crypto3::block::modes::detail::authenticated_encryption_associated_data_encryption_policy< Cipher, Padding, Allocator >::end_message ( const cipher_type cipher,
const block_type plaintext 
)
inlinestatic

◆ process_block()

template<typename Cipher , typename Padding , template< typename > class Allocator>
static block_type nil::crypto3::block::modes::detail::authenticated_encryption_associated_data_encryption_policy< Cipher, Padding, Allocator >::process_block ( const cipher_type cipher,
const block_type plaintext 
)
inlinestatic

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_encryption_policy< Cipher, Padding, Allocator >::block_bits = policy_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_encryption_policy< Cipher, Padding, Allocator >::block_words = policy_type::block_words
staticconstexpr

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