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

#include <cfb.hpp>

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

Public Types

typedef cipher_type::block_type block_type
 
typedef Cipher cipher_type
 
typedef Padding padding_type
 
typedef std::size_t size_type
 

Static Public Member Functions

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 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 , template< typename > class Allocator = std::allocator>
typedef cipher_type::block_type nil::crypto3::block::modes::detail::cfb_policy< Cipher, Padding, Allocator >::block_type

◆ cipher_type

template<typename Cipher , typename Padding , template< typename > class Allocator = std::allocator>
typedef Cipher nil::crypto3::block::modes::detail::cfb_policy< Cipher, Padding, Allocator >::cipher_type

◆ padding_type

template<typename Cipher , typename Padding , template< typename > class Allocator = std::allocator>
typedef Padding nil::crypto3::block::modes::detail::cfb_policy< Cipher, Padding, Allocator >::padding_type

◆ size_type

template<typename Cipher , typename Padding , template< typename > class Allocator = std::allocator>
typedef std::size_t nil::crypto3::block::modes::detail::cfb_policy< Cipher, Padding, Allocator >::size_type

Member Function Documentation

◆ 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)
inlinestatic

◆ 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 
)
inlinestatic

Member Data Documentation

◆ block_bits

template<typename Cipher , typename Padding , template< typename > class Allocator = std::allocator>
constexpr static const size_type nil::crypto3::block::modes::detail::cfb_policy< Cipher, Padding, Allocator >::block_bits = cipher_type::block_bits
staticconstexpr

◆ block_words

template<typename Cipher , typename Padding , template< typename > class Allocator = std::allocator>
constexpr static const size_type nil::crypto3::block::modes::detail::cfb_policy< Cipher, Padding, Allocator >::block_words = cipher_type::block_words
staticconstexpr

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