nil::crypto3::codec::detail::hex_policy< Mode > Struct Template Reference

#include <hex_policy.hpp>

+ Collaboration diagram for nil::crypto3::codec::detail::hex_policy< Mode >:

Public Types

typedef boost::uint_t< CHAR_BIT >::exact byte_type
 
typedef mode_type::constants_type constants_type
 
typedef std::array< decoded_value_type, decoded_block_valuesdecoded_block_type
 
typedef byte_type decoded_value_type
 
typedef std::array< encoded_value_type, encoded_block_valuesencoded_block_type
 
typedef byte_type encoded_value_type
 
typedef Mode mode_type
 

Public Member Functions

 CRYPTO3_INLINE_VARIABLE (constants_type, constants,(mode_type::constants()))
 

Static Public Attributes

constexpr static const std::size_t decoded_block_bits = decoded_value_bits * decoded_block_values
 
constexpr static const std::size_t decoded_block_values = 1
 
constexpr static const std::size_t decoded_value_bits = CHAR_BIT
 
constexpr static const std::uint8_t encoded_block_bits = encoded_block_values * encoded_value_bits
 
constexpr static const std::size_t encoded_block_values = 2
 
constexpr static const std::size_t encoded_value_bits = CHAR_BIT
 

Member Typedef Documentation

◆ byte_type

template<typename Mode >
typedef boost::uint_t<CHAR_BIT>::exact nil::crypto3::codec::detail::hex_policy< Mode >::byte_type

◆ constants_type

template<typename Mode >
typedef mode_type::constants_type nil::crypto3::codec::detail::hex_policy< Mode >::constants_type

◆ decoded_block_type

◆ decoded_value_type

template<typename Mode >
typedef byte_type nil::crypto3::codec::detail::hex_policy< Mode >::decoded_value_type

◆ encoded_block_type

◆ encoded_value_type

template<typename Mode >
typedef byte_type nil::crypto3::codec::detail::hex_policy< Mode >::encoded_value_type

◆ mode_type

template<typename Mode >
typedef Mode nil::crypto3::codec::detail::hex_policy< Mode >::mode_type

Member Function Documentation

◆ CRYPTO3_INLINE_VARIABLE()

template<typename Mode >
nil::crypto3::codec::detail::hex_policy< Mode >::CRYPTO3_INLINE_VARIABLE ( constants_type  ,
constants  ,
(mode_type::constants())   
)

Member Data Documentation

◆ decoded_block_bits

template<typename Mode >
constexpr static const std::size_t nil::crypto3::codec::detail::hex_policy< Mode >::decoded_block_bits = decoded_value_bits * decoded_block_values
staticconstexpr

◆ decoded_block_values

template<typename Mode >
constexpr static const std::size_t nil::crypto3::codec::detail::hex_policy< Mode >::decoded_block_values = 1
staticconstexpr

◆ decoded_value_bits

template<typename Mode >
constexpr static const std::size_t nil::crypto3::codec::detail::hex_policy< Mode >::decoded_value_bits = CHAR_BIT
staticconstexpr

◆ encoded_block_bits

template<typename Mode >
constexpr static const std::uint8_t nil::crypto3::codec::detail::hex_policy< Mode >::encoded_block_bits = encoded_block_values * encoded_value_bits
staticconstexpr

◆ encoded_block_values

template<typename Mode >
constexpr static const std::size_t nil::crypto3::codec::detail::hex_policy< Mode >::encoded_block_values = 2
staticconstexpr

◆ encoded_value_bits

template<typename Mode >
constexpr static const std::size_t nil::crypto3::codec::detail::hex_policy< Mode >::encoded_value_bits = CHAR_BIT
staticconstexpr

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