7 #ifndef CRYPTOPP_CRC32_H 8 #define CRYPTOPP_CRC32_H 16 #ifdef IS_LITTLE_ENDIAN 17 #define CRC32_INDEX(c) (c & 0xff) 18 #define CRC32_SHIFTED(c) (c >> 8) 20 #define CRC32_INDEX(c) (c >> 24) 21 #define CRC32_SHIFTED(c) (c << 8)
#define CRYPTOPP_STATIC_CONSTEXPR
byte GetCrcByte(size_t i) const
#define NAMESPACE_BEGIN(x)
Abstract base classes that provide a uniform interface to this library.
static const word32 m_tab[256]
CRYPTOPP_STATIC_CONSTEXPR const char * StaticAlgorithmName()
unsigned int DigestSize() const
Provides the digest size of the hash.
void TruncatedFinal(byte *hash, size_t size)
Computes the hash of the current message.
byte GetCrcByte(size_t i) const
std::string AlgorithmName() const
Provides the name of this algorithm.
#define CRYPTOPP_CONSTANT(x)
void Update(const byte *input, size_t length)
Updates a hash with additional input.
uint8_t const size_t const size
unsigned int DigestSize() const
Provides the digest size of the hash.
CRYPTOPP_STATIC_CONSTEXPR const char * StaticAlgorithmName()
CRC-32C Checksum Calculation.
CRC-32 Checksum Calculation.
std::string AlgorithmName() const
Provides the name of this algorithm.