nil::crypto3::detail::exploder_shift< InputEndianness, UnitBits, InputBits, OutputBits, k, IsLittleUnit > Struct Template Reference

exploder_shift trait is used to determine whether the output elements are splitted from an input element in reverse order. Since the input and output types are integral now, this trait contains the shift indicating the position of output element derived from the input element when k output bits have already been processed. More...

+ Collaboration diagram for nil::crypto3::detail::exploder_shift< InputEndianness, UnitBits, InputBits, OutputBits, k, IsLittleUnit >:

Detailed Description

template<typename InputEndianness, int UnitBits, int InputBits, int OutputBits, int k, bool IsLittleUnit = is_little_unit<InputEndianness, UnitBits>::value>
struct nil::crypto3::detail::exploder_shift< InputEndianness, UnitBits, InputBits, OutputBits, k, IsLittleUnit >

exploder_shift trait is used to determine whether the output elements are splitted from an input element in reverse order. Since the input and output types are integral now, this trait contains the shift indicating the position of output element derived from the input element when k output bits have already been processed.

Template Parameters
InputEndianness
UnitBits
InputBits
OutputBits
k
IsLittleUnit

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