diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:24:52 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:24:52 -0700 |
commit | 9c3a5830218c4e7fff23b8fc4386269db77a03a9 (patch) | |
tree | 913542049433ae44de55d22913f6bca921f2dc15 /crc32.c | |
parent | 6b8233bfe00e79134cb1b84fc49d4f750a797f79 (diff) | |
download | zlib-9c3a5830218c4e7fff23b8fc4386269db77a03a9.tar.gz |
zlib 1.2.2.4v1.2.2.4
Diffstat (limited to 'crc32.c')
-rw-r--r-- | crc32.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -64,6 +64,11 @@ # define TBLS 1 #endif /* BYFOUR */ +/* Local functions for crc concatenation */ +local unsigned long gf2_matrix_times OF((unsigned long *mat, + unsigned long vec)); +local void gf2_matrix_square OF((unsigned long *square, unsigned long *mat)); + #ifdef DYNAMIC_CRC_TABLE local volatile int crc_table_empty = 1; @@ -72,10 +77,6 @@ local void make_crc_table OF((void)); #ifdef MAKECRCH local void write_table OF((FILE *, const unsigned long FAR *)); #endif /* MAKECRCH */ -local unsigned long gf2_matrix_times OF((unsigned long *mat, - unsigned long vec)); -local void gf2_matrix_square OF((unsigned long *square, unsigned long *mat)); - /* Generate tables for a byte-wise 32-bit CRC calculation on the polynomial: x^32+x^26+x^23+x^22+x^16+x^12+x^11+x^10+x^8+x^7+x^5+x^4+x^2+x+1. |