• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* crc_folding.h
2  *
3  * Compute the CRC32 using a parallelized folding approach with the PCLMULQDQ
4  * instruction.
5  *
6  * Copyright (C) 2013 Intel Corporation Jim Kukunas
7  * For conditions of distribution and use, see copyright notice in zlib.h
8  */
9 
10 #ifndef CRC_FOLDING_H_
11 #define CRC_FOLDING_H_
12 
13 #include "../../deflate.h"
14 
15 Z_INTERNAL void crc_fold_init(deflate_state *const);
16 Z_INTERNAL uint32_t crc_fold_512to32(deflate_state *const);
17 Z_INTERNAL void crc_fold_copy(deflate_state *const, unsigned char *, const unsigned char *, long);
18 
19 #endif
20