Simd Library Documentation.

Home | Release Notes | Download | Documentation | Forum | SourceForge | GitHub
Hash Functions

Functions for hash estimation. More...

Functions

SIMD_API uint32_t SimdCrc32c (const void *src, size_t size)
 Gets 32-bit cyclic redundancy check (CRC32c) for current data. More...
 

Detailed Description

Functions for hash estimation.

Function Documentation

uint32_t SimdCrc32c ( const void *  src,
size_t  size 
)

Gets 32-bit cyclic redundancy check (CRC32c) for current data.

Calculation is performed for polynomial 0x1EDC6F41 (Castagnoli-crc).

Parameters
[in]src- a pointer to data.
[in]size- a size of the data.
Returns
32-bit cyclic redundancy check (CRC32c).