libnx
v4.8.0
|
Hardware accelerated CRC32 implementation. More...
Go to the source code of this file.
Macros | |
#define | _CRC_ALIGN(sz, insn) |
#define | _CRC_REMAINDER(sz, insn) |
Functions | |
static u32 | crc32CalculateWithSeed (u32 seed, const void *src, size_t size) |
Calculate a CRC32 over data using a seed. More... | |
static u32 | crc32Calculate (const void *src, size_t size) |
Calculate a CRC32 over data. | |
static u32 | crc32cCalculateWithSeed (u32 seed, const void *src, size_t size) |
Calculate a CRC32C over data using a seed. More... | |
static u32 | crc32cCalculate (const void *src, size_t size) |
Calculate a CRC32C over data. | |
Hardware accelerated CRC32 implementation.
#define _CRC_ALIGN | ( | sz, | |
insn | |||
) |
#define _CRC_REMAINDER | ( | sz, | |
insn | |||
) |
Calculate a CRC32 over data using a seed.
Can be used to calculate a CRC32 in chunks using an initial seed of zero for the first chunk.