10 const unsigned long BASE = 65521;
12 unsigned long s1 = m_s1;
13 unsigned long s2 = m_s2;
22 }
while (length % 8 != 0);
31 s1 += input[0]; s2 +=
s1;
32 s1 += input[1]; s2 +=
s1;
33 s1 += input[2]; s2 +=
s1;
34 s1 += input[3]; s2 +=
s1;
35 s1 += input[4]; s2 +=
s1;
36 s1 += input[5]; s2 +=
s1;
37 s1 += input[6]; s2 +=
s1;
38 s1 += input[7]; s2 +=
s1;
45 if (length % 0x8000 == 0)
static const std::string s2("AAD")
#define NAMESPACE_BEGIN(x)
void TruncatedFinal(byte *hash, size_t size)
Computes the hash of the current message.
ADLER-32 checksum calculations.
Class file for ADLER-32 checksum calculations.
#define CRYPTOPP_ASSERT(exp)
uint8_t const size_t const size