Searched refs:crc (Results 1 – 12 of 12) sorted by relevance
/hardware/nxp/nfc/pn8x/halimpl/utils/ |
D | sparse_crc32.cc | 102 uint32_t crc; in sparse_crc32() local 104 crc = crc_in ^ ~0U; in sparse_crc32() 105 while (size--) crc = crc32_tab[(crc ^ *p++) & 0xFF] ^ (crc >> 8); in sparse_crc32() 106 return crc ^ ~0U; in sparse_crc32()
|
D | sparse_crc32.h | 22 uint32_t sparse_crc32(uint32_t crc, const void* buf, int size);
|
/hardware/nxp/nfc/snxxx/halimpl/utils/ |
D | sparse_crc32.cc | 102 uint32_t crc; in sparse_crc32() local 104 crc = crc_in ^ ~0U; in sparse_crc32() 105 while (size--) crc = crc32_tab[(crc ^ *p++) & 0xFF] ^ (crc >> 8); in sparse_crc32() 106 return crc ^ ~0U; in sparse_crc32()
|
D | sparse_crc32.h | 22 uint32_t sparse_crc32(uint32_t crc, const void* buf, int size);
|
/hardware/interfaces/automotive/can/1.0/default/libnl++/ |
D | common.cpp | 42 uint16_t crc16(const Buffer<uint8_t> data, uint16_t crc) { in crc16() argument 44 crc ^= byte; in crc16() 46 if (crc & 1) { in crc16() 47 crc = (crc >> 1) ^ 0xA001; in crc16() 49 crc >>= 1; in crc16() 53 return crc; in crc16()
|
D | common.h | 60 uint16_t crc16(const Buffer<uint8_t> data, uint16_t crc = 0);
|
/hardware/st/secure_element2/secure_element/1.0/esehal/src/ |
D | checksum.c | 44 crc_ccitt(uint16_t crc, const void *s, size_t n) in crc_ccitt() argument 93 crc = (uint8_t)(crc >> 8) ^ fast[(uint8_t)(crc ^ *p++)]; in crc_ccitt() 96 return crc; in crc_ccitt()
|
D | checksum.h | 37 unsigned crc_ccitt(uint16_t crc, const void *s, size_t n);
|
D | iso7816_t1.c | 122 uint16_t crc = crc_ccitt(0xFFFF, buf, n); in do_chk() local 123 buf[n++] = (uint8_t)(crc >> 8); in do_chk() 124 buf[n++] = (uint8_t)(crc); in do_chk() 143 uint16_t crc = crc_ccitt(0xFFFF, buf, n); in chk_is_good() local 144 match = (crc == (buf[n + 1] | (buf[n] << 8))); in chk_is_good()
|
/hardware/interfaces/boot/1.1/default/boot_control/ |
D | libboot_control.cpp | 56 uint32_t crc = i; in CRC32() local 58 uint32_t mask = -(crc & 1); in CRC32() 59 crc = (crc >> 1) ^ (0xEDB88320 & mask); in CRC32() 61 crc_table[i] = crc; in CRC32()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | bcmutils.c | 1339 (c) = ((c) >> 8) ^ crc##n##_table[((c) ^ (x)) & 0xff] 1345 uint8 crc /* either CRC8_INIT_VALUE or previous return value */ in hndcrc8() argument 1352 crc = crc8_table[(crc ^ *pdata++) & 0xff]; in hndcrc8() 1354 return crc; in hndcrc8() 1418 uint16 crc /* either CRC16_INIT_VALUE or previous return value */ in hndcrc16() argument 1422 CRC_INNER_LOOP(16, crc, *pdata++); in hndcrc16() 1423 return crc; in hndcrc16() 1498 hndcrc32(uint8 *pdata, uint nbytes, uint32 crc) in hndcrc32() argument 1503 CRC_INNER_LOOP(32, crc, *pdata++); in hndcrc32() 1505 return crc; in hndcrc32()
|
D | ucode_download.c | 45 dload_ptr->crc = 0; in dload_generic_data()
|