13#define mul32x32_64(a, b) ((uint64_t)(a) * (b))
79 h4 += (
t3 >> 8) | (1 << 24);
123 for (;
j < 16;
j++) {
133 h0 +=
t0 & 0x3ffffff;
173 g4 =
h4 +
b - (1 << 26);
static void WriteLE32(uint8_t *ptr, uint32_t x)
static uint32_t ReadLE32(const uint8_t *ptr)
#define mul32x32_64(a, b)
void poly1305_auth(uint8_t out[POLY1305_TAGLEN], const uint8_t *m, size_t inlen, const uint8_t key[POLY1305_KEYLEN])
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...