replaced 8 bit CRC with 16 bit 0xA8F4

8 bit CRC is simply too weak with a large list size
This commit is contained in:
Ahmet Inan 2026-02-14 06:06:59 +01:00
commit f9dad0397b

View file

@ -26,8 +26,8 @@ int main()
const int M = 7;
const int N = 1 << M;
const bool crc_aided = true;
CODE::CRC<uint8_t> crc(0xD9);
const int C = 8;
CODE::CRC<uint16_t> crc(0xA8F4);
const int C = 16;
int K = R * N + crc_aided * C;
#if 1
const int L = 64;