Searched refs:crc8_rohc (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/unit/crc/ |
D | main.c | 196 zassert_equal(crc8_rohc(CRC8_ROHC_INITIAL_VALUE, test0, sizeof(test0)), 0xcf); in ZTEST() 197 zassert_equal(crc8_rohc(CRC8_ROHC_INITIAL_VALUE, test1, sizeof(test1)), 0x2e); in ZTEST() 198 zassert_equal(crc8_rohc(CRC8_ROHC_INITIAL_VALUE, test2, sizeof(test2)), 0xd0); in ZTEST() 199 zassert_equal(crc8_rohc(CRC8_ROHC_INITIAL_VALUE, test3, sizeof(test3)), 0x76); in ZTEST() 200 zassert_equal(crc8_rohc(CRC8_ROHC_INITIAL_VALUE, test4, sizeof(test4)), 0xcf); in ZTEST() 201 zassert_equal(crc8_rohc(CRC8_ROHC_INITIAL_VALUE, test5, sizeof(test5)), 0xcf); in ZTEST()
|
/Zephyr-latest/include/zephyr/sys/ |
D | crc.h | 291 uint8_t crc8_rohc(uint8_t initial_value, const void *buf, size_t len); 404 return crc8_rohc(seed, src, len); in crc_by_type()
|
/Zephyr-latest/lib/crc/ |
D | crc8_sw.c | 34 uint8_t crc8_rohc(uint8_t val, const void *buf, size_t cnt) in crc8_rohc() function
|
/Zephyr-latest/subsys/modem/ |
D | modem_cmux.c | 298 fcs = crc8_rohc(MODEM_CMUX_FCS_INIT_VALUE, &buf[1], (buf_idx - 1)); in modem_cmux_transmit_frame() 304 fcs = 0xFF - crc8_rohc(fcs, frame->data, data_len); in modem_cmux_transmit_frame() 855 fcs = crc8_rohc(MODEM_CMUX_FCS_INIT_VALUE, cmux->frame_header, in modem_cmux_process_received_byte() 860 fcs = 0xFF - crc8_rohc(fcs, cmux->frame.data, cmux->frame.data_len); in modem_cmux_process_received_byte()
|