#include <crypto/siphash.h>
#include <uint256.h>
#include <bit>
#include <cassert>
#include <span>
Go to the source code of this file.
◆ SIPROUND
Value: do { \
v0 += v1; v1 = std::rotl(v1, 13); v1 ^=
v0; \
v0 = std::rotl(
v0, 32); \
v2 +=
v3;
v3 = std::rotl(
v3, 16);
v3 ^= v2; \
v2 += v1; v1 = std::rotl(v1, 17); v1 ^= v2; \
v2 = std::rotl(v2, 32); \
} while (0)
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
Definition at line 13 of file siphash.cpp.