nil::crypto3::block::modes::detail::xts_decryption_policy< Cipher, Padding, CiphertextStealingMode > Struct Template Reference

#include <xts.hpp>

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

Public Types

typedef cipher_type::block_type block_type
 
typedef Cipher cipher_type
 
typedef cipher_type::key_type key_type
 
typedef Padding padding_type
 

Static Public Member Functions

static void schedule_key (const key_type &key)
 
static void update_tweak (const cipher_type &tweak_cipher, size_t which)
 

Static Public Attributes

constexpr static const std::size_t block_bits = cipher_type::block_bits
 
constexpr static const std::size_t block_words = cipher_type::block_words
 
constexpr static const std::size_t key_bits = cipher_type::key_bits
 
constexpr static const std::size_t key_words = cipher_type::key_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::xts_policy< Cipher, Padding, Allocator >::block_type
inherited

◆ cipher_type

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

◆ key_type

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

◆ padding_type

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

Member Function Documentation

◆ schedule_key()

template<typename Cipher , typename Padding , template< typename > class Allocator = std::allocator>
static void nil::crypto3::block::modes::detail::xts_policy< Cipher, Padding, Allocator >::schedule_key ( const key_type key)
inlinestaticinherited

◆ update_tweak()

template<typename Cipher , typename Padding , template< typename > class Allocator = std::allocator>
static void nil::crypto3::block::modes::detail::xts_policy< Cipher, Padding, Allocator >::update_tweak ( const cipher_type tweak_cipher,
size_t  which 
)
inlinestaticinherited

Member Data Documentation

◆ block_bits

template<typename Cipher , typename Padding , template< typename > class Allocator = std::allocator>
constexpr static const std::size_t nil::crypto3::block::modes::detail::xts_policy< Cipher, Padding, Allocator >::block_bits = cipher_type::block_bits
staticconstexprinherited

◆ block_words

template<typename Cipher , typename Padding , template< typename > class Allocator = std::allocator>
constexpr static const std::size_t nil::crypto3::block::modes::detail::xts_policy< Cipher, Padding, Allocator >::block_words = cipher_type::block_words
staticconstexprinherited

◆ key_bits

template<typename Cipher , typename Padding , template< typename > class Allocator = std::allocator>
constexpr static const std::size_t nil::crypto3::block::modes::detail::xts_policy< Cipher, Padding, Allocator >::key_bits = cipher_type::key_bits
staticconstexprinherited

◆ key_words

template<typename Cipher , typename Padding , template< typename > class Allocator = std::allocator>
constexpr static const std::size_t nil::crypto3::block::modes::detail::xts_policy< Cipher, Padding, Allocator >::key_words = cipher_type::key_words
staticconstexprinherited

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