From f9dad0397b9a818ded655fa9499bd2d71344dd77 Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Sat, 14 Feb 2026 06:06:59 +0100 Subject: [PATCH] replaced 8 bit CRC with 16 bit 0xA8F4 8 bit CRC is simply too weak with a large list size --- tests/pac_list_regression_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pac_list_regression_test.cc b/tests/pac_list_regression_test.cc index c92eeca..2c51fcd 100644 --- a/tests/pac_list_regression_test.cc +++ b/tests/pac_list_regression_test.cc @@ -26,8 +26,8 @@ int main() const int M = 7; const int N = 1 << M; const bool crc_aided = true; - CODE::CRC crc(0xD9); - const int C = 8; + CODE::CRC crc(0xA8F4); + const int C = 16; int K = R * N + crc_aided * C; #if 1 const int L = 64;