Implementation of SHA-3 hash algo (all modes - 224, 384, 256 and 512)
More...
#include <cstring>
#include <utility>
#include "constant.hh"
Go to the source code of this file.
|
#define | UNROLL(A, F) |
| macro for compile-time for unroll
|
|
|
template<std::size_t m_mode> |
void | sha3 (auto &&... args) |
| wrapper for calling a SHA-3 class as a function
|
|
Implementation of SHA-3 hash algo (all modes - 224, 384, 256 and 512)
- Author
- https://github.com/gdaneek
- See also
- https://github.com/gdaneek/sha-3
◆ UNROLL
Value: [&]<uint64_t... I>(std::index_sequence<I...>) __attribute__((always_inline)) { \
((A), ...); \
} (std::make_index_sequence<(F)>());
macro for compile-time for unroll
- Parameters
-
A | expression for unrolling |
F | unroll factor |