24
24
void Update(const byte *input, size_t length);
25
25
void TruncatedFinal(byte *hash, size_t size);
26
26
unsigned int DigestSize() const {return DIGESTSIZE;}
29
30
void UpdateByte(byte b) {m_crc = m_tab[CRC32_INDEX(m_crc) ^ b] ^ CRC32_SHIFTED(m_crc);}
30
31
byte GetCrcByte(size_t i) const {return ((byte *)&(m_crc))[i];}