pubkey/include/nil/crypto3/detail/reverser.hpp
Go to the documentation of this file.
424 template<typename InputEndianness, typename OutputEndianness, int UnitBits, typename Enable = void>
442 typename std::enable_if<is_same_unit<InputEndianness, OutputEndianness, UnitBits>::value>::type> {
void reverse_bits(UnitType &unit)
The functions listed below deal with bit reversal in a unit.
Definition: block/include/nil/crypto3/detail/reverser.hpp:132
void reverse_byte(byte_type &b)
This function reverses bit order in the byte b depending on the machine word size....
Definition: block/include/nil/crypto3/detail/reverser.hpp:63
T unbounded_shr(T x)
Definition: algebra/include/nil/crypto3/detail/unbounded_shift.hpp:64
T unbounded_shl(T x)
Definition: algebra/include/nil/crypto3/detail/unbounded_shift.hpp:59
boost::uint_t< CHAR_BIT >::exact byte_type
Definition: block/include/nil/crypto3/detail/reverser.hpp:49
typename std::iterator_traits< Iterator >::value_type ValueType
Definition: algebra/include/nil/crypto3/detail/make_array.hpp:50
Definition: pair.hpp:31
static void reverse(typename boost::uint_t< UnitBits >::exact &, typename boost::uint_t< UnitBits >::exact &)
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:108
bit_in_unit_byte_reverser transforms the sequence of bits in each byte of the input unit into reverse...
Definition: block/include/nil/crypto3/detail/reverser.hpp:87
static void reverse(UnitType &in, UnitType &out)
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:96
boost::uint_t< UnitBits >::exact UnitType
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:94
BOOST_STATIC_ASSERT(!(UnitBits % CHAR_BIT))
bit_in_unit_byte_reverser< UnitBits, k+CHAR_BIT > next_type
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:93
static void reverse(ValueType &, ValueType &)
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:194
bit_in_unit_reverser transforms the sequence of bits in each unit of the input value into reversed se...
Definition: block/include/nil/crypto3/detail/reverser.hpp:171
static void reverse(ValueType &in, ValueType &out)
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:181
bit_in_unit_reverser< InputBits, UnitBits, k+UnitBits > next_type
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:177
boost::uint_t< UnitBits >::exact UnitType
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:178
BOOST_STATIC_ASSERT(!(InputBits % UnitBits) &&!(UnitBits % CHAR_BIT))
static ValueType reverse(ValueType const &val)
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:312
static void reverse(ValueType &val)
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:305
static ValueType reverse(ValueType const &val)
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:287
static void reverse(ValueType &)
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:283
static void reverse(ValueType &, ValueType &)
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:355
byte_in_unit_reverser transforms the sequence of bytes in each unit of the input value into reversed ...
Definition: block/include/nil/crypto3/detail/reverser.hpp:332
static void reverse(ValueType &in, ValueType &out)
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:342
boost::uint_t< UnitBits >::exact UnitType
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:339
BOOST_STATIC_ASSERT(!(InputBits % UnitBits) &&!(UnitBits % CHAR_BIT))
byte_in_unit_reverser< InputBits, UnitBits, k+UnitBits > next_type
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:338
constexpr static const bool value
Definition: block/include/nil/crypto3/detail/reverser.hpp:212
constexpr static const bool value
Definition: block/include/nil/crypto3/detail/reverser.hpp:373
constexpr static const bool value
Definition: block/include/nil/crypto3/detail/reverser.hpp:228
constexpr static const bool value
Definition: block/include/nil/crypto3/detail/reverser.hpp:389
constexpr static const bool value
Definition: block/include/nil/crypto3/detail/reverser.hpp:245
constexpr static const bool value
Definition: block/include/nil/crypto3/detail/reverser.hpp:406
static void reverse(ValueType &)
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:444
static ValueType reverse(ValueType const &val)
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:448
static ValueType reverse(ValueType const &val)
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:508
static void reverse(ValueType &val)
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:500
static void reverse(ValueType &val)
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:471
static ValueType reverse(ValueType const &val)
Definition: pubkey/include/nil/crypto3/detail/reverser.hpp:476