Lines Matching refs:test2
19 uint8_t test2[] = { '1', '2', '3', '4', '5', '6', '7', '8', '9' }; in ZTEST() local
25 zassert_equal(crc32_c(0, test2, sizeof(test2), true, true), in ZTEST()
37 zassert_equal(crc32_c(0x1E923211, test2, sizeof(test2), false, false), in ZTEST()
46 uint8_t test2[] = { '1', '2', '3', '4', '5', '6', '7', '8', '9' }; in ZTEST() local
50 zassert_equal(crc32_ieee(test2, sizeof(test2)), 0xCBF43926); in ZTEST()
57 uint8_t test2[] = { '1', '2', '3', '4', '5', '6', '7', '8', '9' }; in ZTEST() local
61 zassert_equal(crc24_pgp(test2, sizeof(test2)), 0x0021CF02); in ZTEST()
65 zassert_equal(crc24_pgp_update(CRC24_PGP_INITIAL_VALUE, test2, 3), 0x0009DF67); in ZTEST()
66 zassert_equal(crc24_pgp_update(0x0009DF67, test2 + 3, 2), 0x00BA353A); in ZTEST()
67 zassert_equal(crc24_pgp_update(0x00BA353A, test2 + 5, 4), 0x0021CF02); in ZTEST()
107 uint8_t test2[] = { '1', '2', '3', '4', '5', '6', '7', '8', '9' }; in ZTEST() local
117 zassert_equal(crc16_ccitt(0, test2, sizeof(test2)), 0x2189); in ZTEST()
122 zassert_equal(crc16_ccitt(0xffff, test2, sizeof(test2)) ^ 0xffff, in ZTEST()
146 uint8_t test2[] = { '1', '2', '3', '4', '5', '6', '7', '8', '9' }; in ZTEST() local
150 zassert_equal(crc16_ccitt(0xffff, test2, sizeof(test2)) ^ 0xFFFF, in ZTEST()
156 uint8_t test2[] = { '1', '2', '3', '4', '5', '6', '7', '8', '9' }; in ZTEST() local
162 zassert_equal(crc16_itu_t(0, test2, sizeof(test2)), 0x31c3); in ZTEST()
167 zassert_equal(crc16_itu_t(0xffff, test2, sizeof(test2)), 0x29b1); in ZTEST()
172 zassert_equal(crc16_itu_t(0, test2, sizeof(test2)) ^ 0xffff, 0xce3c); in ZTEST()
180 uint8_t test2[] = { '1', '2', '3', '4', '5', '6', '7', '8', '9' }; in ZTEST() local
184 zassert_equal(crc8_ccitt(CRC8_CCITT_INITIAL_VALUE, test2, sizeof(test2)), 0xFB); in ZTEST()
191 uint8_t test2[] = { '1', '2', '3', '4', '5', '6', '7', '8', '9' }; in ZTEST() local
198 zassert_equal(crc8_rohc(CRC8_ROHC_INITIAL_VALUE, test2, sizeof(test2)), 0xd0); in ZTEST()
208 uint8_t test2[] = { '1', '2', '3', '4', '5', '6', '7', '8', '9' }; in ZTEST() local
212 zassert_equal(crc7_be(0, test2, sizeof(test2)), 0xEA); in ZTEST()
221 uint8_t test2[] = { 0x07, 0x3F }; /* GSM 07.10 example */ in ZTEST() local
246 fcs = crc8(test2, sizeof(test2), 0x31, 0x00, false); in ZTEST()
250 fcs = crc8(test2, sizeof(test2), 0x31, 0xff, false); in ZTEST()
254 fcs = crc8(test2, sizeof(test2), 0x07, 0x00, false); in ZTEST()
258 fcs = crc8(test2, sizeof(test2), 0x07, 0xff, false); in ZTEST()
262 fcs = crc8(test2, sizeof(test2), 0xe0, 0xff, true); in ZTEST()