168 #define IF_p6ICRC32 {0xd198ea72,0xf5ff,0x4bf6,{0x95,0x66,0xaa,0xd2,0x92,0xe0,0xfb,0x12}}
171 #define COMP_p6CRC32 {0x90a7de03,0x1560,0x4b7c,{0x83,0xa5,0xf0,0x8,0x99,0xab,0x4,0xd6}}
P6UINT32 P6CRC32FLAGS
P6CRC32FLAGS.
virtual P6R::P6ERR reset(P6CRC32FLAGS flags, P6UINT32 polynomial, P6UINT32 initValue, P6UINT32 finalXOR, P6BOOL reflected)=0
To reuse this object either with the same or different polynomial this function must be called...
const P6CRC32FLAGS P6CRC32_USEDEFAULTS
The base interface all [p6]COM components must derive from and implement.
const P6CRC32FLAGS P6CRC32_NOFLAGS
virtual P6R::P6ERR nextBlock(P6UINT8 *pBlock, P6UINT32 blockSize)=0
If computing a CRC over multiple buffers, then this function must be called for the 2nd and all follo...
Cyclic Redundancy Check 32 bits.
virtual P6R::P6ERR initialize(P6CRC32FLAGS flags, P6UINT32 polynomial, P6UINT32 initValue, P6UINT32 finalXOR, P6BOOL reflected)=0
This function ensures that this object is in its proper initial state.
virtual P6R::P6ERR getCRC(P6UINT32 *pCRC32)=0
After all buffers have been feed to the firstBlock(), nextBlock(), ..., nextBlock() functions the CRC...
P6COM definitions and interfaces.
virtual P6R::P6ERR firstBlock(P6UINT8 *pBlock, P6UINT32 blockSize)=0
This object allows the caller to pass one or more buffers into the CRC calculation.