nil::crypto3::block::detail::isomorphic_decryption_policy< Cipher, Padding > Struct Template Reference

#include <cipher_modes.hpp>

+ Inheritance diagram for nil::crypto3::block::detail::isomorphic_decryption_policy< Cipher, Padding >:
+ Collaboration diagram for nil::crypto3::block::detail::isomorphic_decryption_policy< Cipher, Padding >:

Public Types

typedef isomorphic_policy< Cipher, Padding >::block_type block_type
 
typedef isomorphic_policy< Cipher, Padding >::cipher_type cipher_type
 
typedef cipher_type::endian_type endian_type
 
typedef Padding padding_type
 
typedef std::size_t size_type
 

Static Public Member Functions

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

Static Public Attributes

constexpr static const size_type block_bits = cipher_type::block_bits
 
constexpr static const size_type block_words = cipher_type::block_words
 

Member Typedef Documentation

◆ block_type

template<typename Cipher , typename Padding >
typedef isomorphic_policy<Cipher, Padding>::block_type nil::crypto3::block::detail::isomorphic_decryption_policy< Cipher, Padding >::block_type

◆ cipher_type

template<typename Cipher , typename Padding >
typedef isomorphic_policy<Cipher, Padding>::cipher_type nil::crypto3::block::detail::isomorphic_decryption_policy< Cipher, Padding >::cipher_type

◆ endian_type

template<typename Cipher , typename Padding >
typedef cipher_type::endian_type nil::crypto3::block::detail::isomorphic_policy< Cipher, Padding >::endian_type
inherited

◆ padding_type

template<typename Cipher , typename Padding >
typedef Padding nil::crypto3::block::detail::isomorphic_policy< Cipher, Padding >::padding_type
inherited

◆ size_type

template<typename Cipher , typename Padding >
typedef std::size_t nil::crypto3::block::detail::isomorphic_policy< Cipher, Padding >::size_type
inherited

Member Function Documentation

◆ begin_message()

template<typename Cipher , typename Padding >
static block_type nil::crypto3::block::detail::isomorphic_decryption_policy< Cipher, Padding >::begin_message ( const cipher_type cipher,
const block_type ciphertext 
)
inlinestatic

◆ end_message()

template<typename Cipher , typename Padding >
static block_type nil::crypto3::block::detail::isomorphic_decryption_policy< Cipher, Padding >::end_message ( const cipher_type cipher,
const block_type ciphertext 
)
inlinestatic

◆ process_block()

template<typename Cipher , typename Padding >
static block_type nil::crypto3::block::detail::isomorphic_decryption_policy< Cipher, Padding >::process_block ( const cipher_type cipher,
const block_type ciphertext 
)
inlinestatic

Member Data Documentation

◆ block_bits

template<typename Cipher , typename Padding >
constexpr static const size_type nil::crypto3::block::detail::isomorphic_policy< Cipher, Padding >::block_bits = cipher_type::block_bits
staticconstexprinherited

◆ block_words

template<typename Cipher , typename Padding >
constexpr static const size_type nil::crypto3::block::detail::isomorphic_policy< Cipher, Padding >::block_words = cipher_type::block_words
staticconstexprinherited

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