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

#include <cfb.hpp>

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

Public Types

typedef cfb_policy< Cipher, Padding >::block_type block_type
 
typedef cfb_policy< Cipher, Padding >::cipher_type cipher_type
 
typedef cfb_policy< Cipher, Padding >::padding_type padding_type
 
typedef cfb_policy< Cipher, Padding >::size_type size_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 void shift_register (cipher_type &cipher)
 
static void xor_copy (uint8_t buf[], uint8_t key_buf[], size_t len)
 

Static Public Attributes

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

Member Typedef Documentation

◆ block_type

template<typename Cipher , std::size_t FeedbackBits, typename Padding >
typedef cfb_policy<Cipher, Padding>::block_type nil::crypto3::block::modes::detail::cfb_decryption_policy< Cipher, FeedbackBits, Padding, cts< 2, Cipher, Padding > >::block_type

◆ cipher_type

template<typename Cipher , std::size_t FeedbackBits, typename Padding >
typedef cfb_policy<Cipher, Padding>::cipher_type nil::crypto3::block::modes::detail::cfb_decryption_policy< Cipher, FeedbackBits, Padding, cts< 2, Cipher, Padding > >::cipher_type

◆ padding_type

template<typename Cipher , std::size_t FeedbackBits, typename Padding >
typedef cfb_policy<Cipher, Padding>::padding_type nil::crypto3::block::modes::detail::cfb_decryption_policy< Cipher, FeedbackBits, Padding, cts< 2, Cipher, Padding > >::padding_type

◆ size_type

template<typename Cipher , std::size_t FeedbackBits, typename Padding >
typedef cfb_policy<Cipher, Padding>::size_type nil::crypto3::block::modes::detail::cfb_decryption_policy< Cipher, FeedbackBits, Padding, cts< 2, Cipher, Padding > >::size_type

Member Function Documentation

◆ begin_message()

template<typename Cipher , std::size_t FeedbackBits, typename Padding >
static block_type nil::crypto3::block::modes::detail::cfb_decryption_policy< Cipher, FeedbackBits, Padding, cts< 2, Cipher, Padding > >::begin_message ( const cipher_type cipher,
const block_type plaintext 
)
inlinestatic

◆ end_message()

template<typename Cipher , std::size_t FeedbackBits, typename Padding >
static block_type nil::crypto3::block::modes::detail::cfb_decryption_policy< Cipher, FeedbackBits, Padding, cts< 2, Cipher, Padding > >::end_message ( const cipher_type cipher,
const block_type plaintext 
)
inlinestatic

◆ process_block()

template<typename Cipher , std::size_t FeedbackBits, typename Padding >
static block_type nil::crypto3::block::modes::detail::cfb_decryption_policy< Cipher, FeedbackBits, Padding, cts< 2, Cipher, Padding > >::process_block ( const cipher_type cipher,
const block_type plaintext 
)
inlinestatic

◆ shift_register()

template<typename Cipher , typename Padding , template< typename > class Allocator = std::allocator>
static void nil::crypto3::block::modes::detail::cfb_policy< Cipher, Padding, Allocator >::shift_register ( cipher_type cipher)
inlinestaticinherited

◆ xor_copy()

template<typename Cipher , typename Padding , template< typename > class Allocator = std::allocator>
static void nil::crypto3::block::modes::detail::cfb_policy< Cipher, Padding, Allocator >::xor_copy ( uint8_t  buf[],
uint8_t  key_buf[],
size_t  len 
)
inlinestaticinherited

Member Data Documentation

◆ block_bits

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

◆ block_words

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

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