Commit 4458d2ca authored by vvaltman's avatar vvaltman

fixed bug in crc32

parent 1602a33b
...@@ -471,6 +471,7 @@ static void gf32_matrix_square (unsigned *square, unsigned *matrix) { ...@@ -471,6 +471,7 @@ static void gf32_matrix_square (unsigned *square, unsigned *matrix) {
} }
unsigned compute_crc32_combine (unsigned crc1, unsigned crc2, int len2) { unsigned compute_crc32_combine (unsigned crc1, unsigned crc2, int len2) {
assert (len2 < (1 << 29));
static int power_buf_initialized = 0; static int power_buf_initialized = 0;
static unsigned power_buf[1024]; static unsigned power_buf[1024];
int n; int n;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment