A crc32 collection/computation hash accumulator class.
More...
#include <digest.h>
|
unsigned char | overflow (unsigned char octet) |
|
std::ostream & | strDigest (std::ostream &os) |
| print a digest string for export. More...
|
|
A crc32 collection/computation hash accumulator class.
- Author
- Kevin Kraatz kraat.nosp@m.z@ar.nosp@m.lut.u.nosp@m.texa.nosp@m.s.edu crc32 computation hash.
Definition at line 197 of file digest.h.
CRC32Digest::CRC32Digest |
( |
| ) |
|
uint32 CRC32Digest::getDigest |
( |
void |
| ) |
|
|
inline |
unsigned CRC32Digest::getDigest |
( |
unsigned char * |
buffer | ) |
|
|
virtual |
Copy the binary digest buffer to user memory.
- Returns
- number of bytes in digest.
- Parameters
-
Implements Digest.
unsigned CRC32Digest::getSize |
( |
void |
| ) |
|
|
inlinevirtual |
Get the size of a digest in octets.
- Returns
- number of bytes in digest.
Implements Digest.
Definition at line 215 of file digest.h.
void CRC32Digest::initDigest |
( |
void |
| ) |
|
|
virtual |
Reset the digest table to an initial default value.
Implements Digest.
CRC32Digest::operator const uint32 |
( |
| ) |
const |
|
inline |
unsigned char CRC32Digest::overflow |
( |
unsigned char |
octet | ) |
|
|
protected |
void CRC32Digest::putDigest |
( |
const unsigned char * |
buffer, |
|
|
unsigned |
length |
|
) |
| |
|
virtual |
Put data into the digest bypassing the stream subsystem.
- Parameters
-
buffer | to read from. |
length | of data. |
Implements Digest.
std::ostream& CRC32Digest::strDigest |
( |
std::ostream & |
os | ) |
|
|
protectedvirtual |
print a digest string for export.
- Returns
- string representation of digest.
Implements Digest.
uint32 CRC32Digest::crc32 |
|
private |
uint32 CRC32Digest::crc_reg |
|
private |
uint32 CRC32Digest::crc_table[256] |
|
private |
The documentation for this class was generated from the following file: