Public Types |
Public Member Functions |
Static Public Member Functions |
Static Public Attributes |
List of all members
nil::crypto3::block::modes::detail::eax_encryption_policy< Cipher, Padding, TagBits, MessageAuthenticationCode, StreamCipher, Allocator > Struct Template Reference
#include <eax.hpp>
Inheritance diagram for nil::crypto3::block::modes::detail::eax_encryption_policy< Cipher, Padding, TagBits, MessageAuthenticationCode, StreamCipher, Allocator >:
Collaboration diagram for nil::crypto3::block::modes::detail::eax_encryption_policy< Cipher, Padding, TagBits, MessageAuthenticationCode, StreamCipher, Allocator >:
Public Types | |
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::mac_type | mac_type |
typedef policy_type::nonce_type | nonce_type |
typedef policy_type::padding_type | padding_type |
typedef eax_policy< Cipher, Padding, TagBits, MessageAuthenticationCode, StreamCipher, Allocator > | policy_type |
typedef policy_type::stream_cipher_type | stream_cipher_type |
Public Member Functions | |
BOOST_STATIC_ASSERT (block_bits==128) | |
BOOST_STATIC_ASSERT (tag_bits >=CHAR_BIT &&tag_bits<=mac_digest_bits) | |
Static Public Member Functions | |
static block_type | begin_message (const cipher_type &cipher, const block_type &plaintext) |
static void | eax_prf (uint8_t tag, size_t block_size, mac_type &mac, const uint8_t in[], size_t length) |
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 |
constexpr static const std::size_t | mac_digest_bits |
constexpr static const std::size_t | tag_bits |
Member Typedef Documentation
◆ associated_data_type
template<typename Cipher , typename Padding , std::size_t TagBits, typename MessageAuthenticationCode , typename StreamCipher , template< typename > class Allocator = std::allocator>
typedef policy_type::associated_data_type nil::crypto3::block::modes::detail::eax_encryption_policy< Cipher, Padding, TagBits, MessageAuthenticationCode, StreamCipher, Allocator >::associated_data_type |
◆ block_type
template<typename Cipher , typename Padding , std::size_t TagBits, typename MessageAuthenticationCode , typename StreamCipher , template< typename > class Allocator = std::allocator>
typedef policy_type::block_type nil::crypto3::block::modes::detail::eax_encryption_policy< Cipher, Padding, TagBits, MessageAuthenticationCode, StreamCipher, Allocator >::block_type |
◆ cipher_type
template<typename Cipher , typename Padding , std::size_t TagBits, typename MessageAuthenticationCode , typename StreamCipher , template< typename > class Allocator = std::allocator>
typedef policy_type::cipher_type nil::crypto3::block::modes::detail::eax_encryption_policy< Cipher, Padding, TagBits, MessageAuthenticationCode, StreamCipher, Allocator >::cipher_type |
◆ mac_type
template<typename Cipher , typename Padding , std::size_t TagBits, typename MessageAuthenticationCode , typename StreamCipher , template< typename > class Allocator = std::allocator>
typedef policy_type::mac_type nil::crypto3::block::modes::detail::eax_encryption_policy< Cipher, Padding, TagBits, MessageAuthenticationCode, StreamCipher, Allocator >::mac_type |
◆ nonce_type
template<typename Cipher , typename Padding , std::size_t TagBits, typename MessageAuthenticationCode , typename StreamCipher , template< typename > class Allocator = std::allocator>
typedef policy_type::nonce_type nil::crypto3::block::modes::detail::eax_encryption_policy< Cipher, Padding, TagBits, MessageAuthenticationCode, StreamCipher, Allocator >::nonce_type |
◆ padding_type
template<typename Cipher , typename Padding , std::size_t TagBits, typename MessageAuthenticationCode , typename StreamCipher , template< typename > class Allocator = std::allocator>
typedef policy_type::padding_type nil::crypto3::block::modes::detail::eax_encryption_policy< Cipher, Padding, TagBits, MessageAuthenticationCode, StreamCipher, Allocator >::padding_type |
◆ policy_type
template<typename Cipher , typename Padding , std::size_t TagBits, typename MessageAuthenticationCode , typename StreamCipher , template< typename > class Allocator = std::allocator>
typedef eax_policy<Cipher, Padding, TagBits, MessageAuthenticationCode, StreamCipher, Allocator> nil::crypto3::block::modes::detail::eax_encryption_policy< Cipher, Padding, TagBits, MessageAuthenticationCode, StreamCipher, Allocator >::policy_type |
◆ stream_cipher_type
template<typename Cipher , typename Padding , std::size_t TagBits, typename MessageAuthenticationCode , typename StreamCipher , template< typename > class Allocator = std::allocator>
typedef policy_type::stream_cipher_type nil::crypto3::block::modes::detail::eax_encryption_policy< Cipher, Padding, TagBits, MessageAuthenticationCode, StreamCipher, Allocator >::stream_cipher_type |
Member Function Documentation
◆ begin_message()
template<typename Cipher , typename Padding , std::size_t TagBits, typename MessageAuthenticationCode , typename StreamCipher , template< typename > class Allocator = std::allocator>
|
inlinestatic |
◆ BOOST_STATIC_ASSERT() [1/2]
|
inherited |
◆ BOOST_STATIC_ASSERT() [2/2]
|
inherited |
◆ eax_prf()
|
inlinestaticinherited |
◆ end_message()
template<typename Cipher , typename Padding , std::size_t TagBits, typename MessageAuthenticationCode , typename StreamCipher , template< typename > class Allocator = std::allocator>
|
inlinestatic |
◆ process_block()
template<typename Cipher , typename Padding , std::size_t TagBits, typename MessageAuthenticationCode , typename StreamCipher , template< typename > class Allocator = std::allocator>
|
inlinestatic |
Member Data Documentation
◆ block_bits
template<typename Cipher , typename Padding , std::size_t TagBits, typename MessageAuthenticationCode , typename StreamCipher , template< typename > class Allocator = std::allocator>
|
staticconstexpr |
◆ block_words
template<typename Cipher , typename Padding , std::size_t TagBits, typename MessageAuthenticationCode , typename StreamCipher , template< typename > class Allocator = std::allocator>
|
staticconstexpr |
◆ mac_digest_bits
|
staticconstexprinherited |
◆ tag_bits
|
staticconstexprinherited |
The documentation for this struct was generated from the following file: