exploder_step obtains an output value represented in OutputEndianness endianness from an input value represented in InputEndianness endianness when k output bits have already been processed. It uses unit_reverser and bit_reverser to deal with the order of units and bits in the output value, respectively. Shift constant is determined by the exploder_shift trait.
More...
#include <exploder.hpp>
|
template<typename InputValue , typename OutputIterator > |
static void | step (InputValue const &in, OutputIterator &out) |
|
template<typename InputValue , typename OutputIterator > |
static void | step (InputValue const &in, OutputIterator &out) |
|
template<typename InputValue , typename OutputIterator > |
static void | step (InputValue const &in, OutputIterator &out) |
|
template<typename InputValue , typename OutputIterator > |
static void | step (InputValue const &in, OutputIterator &out) |
|
template<typename InputValue , typename OutputIterator > |
static void | step (InputValue const &in, OutputIterator &out) |
|
template<typename InputValue , typename OutputIterator > |
static void | step (InputValue const &in, OutputIterator &out) |
|
template<typename InputValue , typename OutputIterator > |
static void | step (InputValue const &in, OutputIterator &out) |
|
template<typename InputValue , typename OutputIterator > |
static void | step (InputValue const &in, OutputIterator &out) |
|
|
constexpr static int const | shift |
|
template<typename InputEndianness, typename OutputEndianness, int UnitBits, int InputBits, int OutputBits, int k>
struct nil::crypto3::detail::exploder_step< InputEndianness, OutputEndianness, UnitBits, InputBits, OutputBits, k >
exploder_step obtains an output value represented in OutputEndianness endianness from an input value represented in InputEndianness endianness when k output bits have already been processed. It uses unit_reverser and bit_reverser to deal with the order of units and bits in the output value, respectively. Shift constant is determined by the exploder_shift trait.
- Template Parameters
-
InputEndianness | |
OutputEndianness | |
UnitBits | |
InputBits | |
OutputBits | |
k | |
◆ step() [1/8]
template<typename InputEndianness , typename OutputEndianness , int UnitBits, int InputBits, int OutputBits, int k>
template<typename InputValue , typename OutputIterator >
◆ step() [2/8]
template<typename InputEndianness , typename OutputEndianness , int UnitBits, int InputBits, int OutputBits, int k>
template<typename InputValue , typename OutputIterator >
◆ step() [3/8]
template<typename InputEndianness , typename OutputEndianness , int UnitBits, int InputBits, int OutputBits, int k>
template<typename InputValue , typename OutputIterator >
◆ step() [4/8]
template<typename InputEndianness , typename OutputEndianness , int UnitBits, int InputBits, int OutputBits, int k>
template<typename InputValue , typename OutputIterator >
◆ step() [5/8]
template<typename InputEndianness , typename OutputEndianness , int UnitBits, int InputBits, int OutputBits, int k>
template<typename InputValue , typename OutputIterator >
◆ step() [6/8]
template<typename InputEndianness , typename OutputEndianness , int UnitBits, int InputBits, int OutputBits, int k>
template<typename InputValue , typename OutputIterator >
◆ step() [7/8]
template<typename InputEndianness , typename OutputEndianness , int UnitBits, int InputBits, int OutputBits, int k>
template<typename InputValue , typename OutputIterator >
◆ step() [8/8]
template<typename InputEndianness , typename OutputEndianness , int UnitBits, int InputBits, int OutputBits, int k>
template<typename InputValue , typename OutputIterator >
◆ shift
template<typename InputEndianness , typename OutputEndianness , int UnitBits, int InputBits, int OutputBits, int k>
Initial value:=
exploder_shift<InputEndianness, UnitBits, InputBits, OutputBits, k>::value
The documentation for this struct was generated from the following file: