RetroArch
|
#include <stdint.h>
Macros | |
#define | _S_CRC32_H |
#define | DO1_CRC32(buf) crc = crc_table[((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8); |
#define | DO2_CRC32(buf) DO1_CRC32(buf); DO1_CRC32(buf); |
#define | DO4_CRC32(buf) DO2_CRC32(buf); DO2_CRC32(buf); |
#define | DO8_CRC32(buf) DO4_CRC32(buf); DO4_CRC32(buf); |
Functions | |
unsigned long | crc32 (unsigned long crc, const unsigned char *buf, unsigned int len) |
const uint32_t * | get_crc_table (void) |
Variables | |
static const unsigned long | crc_table [256] |
#define _S_CRC32_H |
unsigned long crc32 | ( | unsigned long | crc, |
const unsigned char * | buf, | ||
unsigned int | len | ||
) |
|
static |