nil::crypto3::stream::detail::basic_functions< WordBits > Struct Template Reference
#include <basic_functions.hpp>
Inheritance diagram for nil::crypto3::stream::detail::basic_functions< WordBits >:
Collaboration diagram for nil::crypto3::stream::detail::basic_functions< WordBits >:
Public Types | |
typedef boost::uint_t< CHAR_BIT >::exact | byte_type |
typedef boost::uint_t< word_bits >::exact | word_type |
Static Public Member Functions | |
template<std::size_t n> | |
static word_type | rotl (word_type x) |
static word_type | rotl (word_type x, std::size_t n) |
template<std::size_t n> | |
static word_type | rotr (word_type x) |
static word_type | rotr (word_type x, std::size_t n) |
template<std::size_t n> | |
static word_type | shl (word_type x) |
static word_type | shl (word_type x, std::size_t n) |
template<std::size_t n> | |
static word_type | shr (word_type x) |
static word_type | shr (word_type x, std::size_t n) |
Static Public Attributes | |
constexpr static const std::size_t | word_bits = WordBits |
Member Typedef Documentation
◆ byte_type
template<std::size_t WordBits>
typedef boost::uint_t<CHAR_BIT>::exact nil::crypto3::stream::detail::basic_functions< WordBits >::byte_type |
◆ word_type
template<std::size_t WordBits>
typedef boost::uint_t<word_bits>::exact nil::crypto3::stream::detail::basic_functions< WordBits >::word_type |
Member Function Documentation
◆ rotl() [1/2]
template<std::size_t WordBits>
template<std::size_t n>
|
inlinestatic |
◆ rotl() [2/2]
template<std::size_t WordBits>
|
inlinestatic |
◆ rotr() [1/2]
template<std::size_t WordBits>
template<std::size_t n>
|
inlinestatic |
◆ rotr() [2/2]
template<std::size_t WordBits>
|
inlinestatic |
◆ shl() [1/2]
template<std::size_t WordBits>
template<std::size_t n>
|
inlinestatic |
◆ shl() [2/2]
template<std::size_t WordBits>
|
inlinestatic |
◆ shr() [1/2]
template<std::size_t WordBits>
template<std::size_t n>
|
inlinestatic |
◆ shr() [2/2]
template<std::size_t WordBits>
|
inlinestatic |
Member Data Documentation
◆ word_bits
template<std::size_t WordBits>
|
staticconstexpr |
The documentation for this struct was generated from the following file: