1 #ifndef __CKSUM_H__
2 # define __CKSUM_H__
3 
4 extern bool cksum_debug;
5 
6 extern int
7 crc_sum_stream (FILE *stream, void *resstream, uintmax_t *length);
8 
9 extern void
10 output_crc (char const *file, int binary_file, void const *digest, bool raw,
11             bool tagged, unsigned char delim, bool args, uintmax_t length)
12   _GL_ATTRIBUTE_NONNULL ((3));
13 
14 extern bool
15 cksum_pclmul (FILE *fp, uint_fast32_t *crc_out, uintmax_t *length_out);
16 
17 extern uint_fast32_t const crctab[8][256];
18 
19 #endif
20