========================================================================= * This function can be used by asm versions of crc32() */
| 186 | * This function can be used by asm versions of crc32() |
| 187 | */ |
| 188 | const z_crc_t FAR * ZEXPORT get_crc_table() |
| 189 | { |
| 190 | #ifdef DYNAMIC_CRC_TABLE |
| 191 | if (crc_table_empty) |
| 192 | make_crc_table(); |
| 193 | #endif /* DYNAMIC_CRC_TABLE */ |
| 194 | return (const z_crc_t FAR *)crc_table; |
| 195 | } |
| 196 | |
| 197 | /* ========================================================================= */ |
| 198 | #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8) |