45 #define crc_n4(crc, data, table) \ 47 crc = (table[(crc & 0xff) + 0x300]) ^ (table[((crc >> 8) & 0xff) + 0x200]) ^ \ 48 (table[((data >> 16) & 0xff) + 0x100]) ^ (table[data >> 24]); 87 #define crc_n4d(crc, data, table) \ 89 crc = (table[(crc & 0xff) + 0x300]) ^ (table[((crc >> 8) & 0xff) + 0x200]) ^ \ 90 (table[((crc >> 16) & 0xff) + 0x100]) ^ (table[(crc >> 24) & 0xff]); 92 #define crcsm_n4d(crc, data, table) \ 94 crc = (crc >> 8) ^ (table[crc & 0xff]); \ 95 crc = (crc >> 8) ^ (table[crc & 0xff]); \ 96 crc = (crc >> 8) ^ (table[crc & 0xff]); \ 97 crc = (crc >> 8) ^ (table[crc & 0xff]); 106 #define CRC_TABLE_CRC32 crc_table_crc32_big 108 #define CRC_TABLE_CRC32 crc_table_crc32
uint32_t crc32_calc(const uint8_t *data, uint16_t len)
uint16_t mcrf4xx_calc(const uint8_t *data, const uint16_t datalen)
_W64 unsigned int uintptr_t
#define crcsm_n4d(crc, data, table)
#define crc_n4(crc, data, table)
const uint16_t crc_table_mcrf4xx[1024]
#define crc_n4d(crc, data, table)