nil::crypto3::block::modes::detail::cbc_decryption_policy< Cipher, Padding, cts< 2, Cipher, Padding > > Struct Template Reference

#include <cbc.hpp>

+ Inheritance diagram for nil::crypto3::block::modes::detail::cbc_decryption_policy< Cipher, Padding, cts< 2, Cipher, Padding > >:
+ Collaboration diagram for nil::crypto3::block::modes::detail::cbc_decryption_policy< Cipher, Padding, cts< 2, Cipher, Padding > >:

Public Types

typedef cbc_policy< Cipher, Padding >::block_type block_type
 
typedef cbc_policy< Cipher, Padding >::cipher_type cipher_type
 
typedef cbc_policy< Cipher, Padding >::iv_type iv_type
 
typedef cbc_policy< Cipher, Padding >::padding_type padding_type
 
typedef cbc_policy< Cipher, Padding >::size_type size_type
 

Static Public Member Functions

static block_type begin_message (const cipher_type &cipher, const block_type &plaintext, const iv_type &iv=iv_type())
 
static block_type end_message (const cipher_type &cipher, const block_type &plaintext, const iv_type &iv=iv_type())
 
static block_type process_block (const cipher_type &cipher, const block_type &plaintext, const block_type &previous=block_type())
 

Static Public Attributes

constexpr static const std::size_t block_bits = cbc_policy<Cipher, Padding>::block_bits
 
constexpr static const std::size_t block_words = cbc_policy<Cipher, Padding>::block_words
 

Member Typedef Documentation

◆ block_type

template<typename Cipher , typename Padding >
typedef cbc_policy<Cipher, Padding>::block_type nil::crypto3::block::modes::detail::cbc_decryption_policy< Cipher, Padding, cts< 2, Cipher, Padding > >::block_type

◆ cipher_type

template<typename Cipher , typename Padding >
typedef cbc_policy<Cipher, Padding>::cipher_type nil::crypto3::block::modes::detail::cbc_decryption_policy< Cipher, Padding, cts< 2, Cipher, Padding > >::cipher_type

◆ iv_type

template<typename Cipher , typename Padding >
typedef cbc_policy<Cipher, Padding>::iv_type nil::crypto3::block::modes::detail::cbc_decryption_policy< Cipher, Padding, cts< 2, Cipher, Padding > >::iv_type

◆ padding_type

template<typename Cipher , typename Padding >
typedef cbc_policy<Cipher, Padding>::padding_type nil::crypto3::block::modes::detail::cbc_decryption_policy< Cipher, Padding, cts< 2, Cipher, Padding > >::padding_type

◆ size_type

template<typename Cipher , typename Padding >
typedef cbc_policy<Cipher, Padding>::size_type nil::crypto3::block::modes::detail::cbc_decryption_policy< Cipher, Padding, cts< 2, Cipher, Padding > >::size_type

Member Function Documentation

◆ begin_message()

template<typename Cipher , typename Padding >
static block_type nil::crypto3::block::modes::detail::cbc_decryption_policy< Cipher, Padding, cts< 2, Cipher, Padding > >::begin_message ( const cipher_type cipher,
const block_type plaintext,
const iv_type iv = iv_type() 
)
inlinestatic

◆ end_message()

template<typename Cipher , typename Padding >
static block_type nil::crypto3::block::modes::detail::cbc_decryption_policy< Cipher, Padding, cts< 2, Cipher, Padding > >::end_message ( const cipher_type cipher,
const block_type plaintext,
const iv_type iv = iv_type() 
)
inlinestatic

◆ process_block()

template<typename Cipher , typename Padding >
static block_type nil::crypto3::block::modes::detail::cbc_decryption_policy< Cipher, Padding, cts< 2, Cipher, Padding > >::process_block ( const cipher_type cipher,
const block_type plaintext,
const block_type previous = block_type() 
)
inlinestatic

Member Data Documentation

◆ block_bits

template<typename Cipher , typename Padding >
constexpr static const std::size_t nil::crypto3::block::modes::detail::cbc_decryption_policy< Cipher, Padding, cts< 2, Cipher, Padding > >::block_bits = cbc_policy<Cipher, Padding>::block_bits
staticconstexpr

◆ block_words

template<typename Cipher , typename Padding >
constexpr static const std::size_t nil::crypto3::block::modes::detail::cbc_decryption_policy< Cipher, Padding, cts< 2, Cipher, Padding > >::block_words = cbc_policy<Cipher, Padding>::block_words
staticconstexpr

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