fixed bug in crc32
This commit is contained in:
parent
1602a33b45
commit
4458d2ca98
1
crc32.c
1
crc32.c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user