Skip to content
Snippets Groups Projects
  1. Apr 05, 2019
  2. Dec 26, 2018
    • Mark Adler's avatar
      Speed up software CRC-32 computation by a factor of 1.5 to 3. · f8719f5a
      Mark Adler authored
      Use the interleaved method of Kadatch and Jenkins in order to make
      use of pipelined instructions through multiple ALUs in a single
      core. This also speeds up and simplifies the combination of CRCs,
      and updates the functions to pre-calculate and use an operator for
      CRC combination.
      f8719f5a
  3. Nov 04, 2018
  4. Jan 31, 2018
  5. Jan 09, 2018
  6. Oct 13, 2017
  7. Feb 16, 2017
    • Mark Adler's avatar
      Permit a deflateParams() parameter change as soon as possible. · f9694097
      Mark Adler authored
      This commit allows a parameter change even if the input data has
      not all been compressed and copied to the application output
      buffer, so long as all of the input data has been compressed to
      the internal pending output buffer. This also allows an immediate
      deflateParams change so long as there have been no deflate calls
      since initialization or reset.
      f9694097
  8. Jan 16, 2017
  9. Jan 15, 2017
  10. Jan 03, 2017
  11. Jan 02, 2017
  12. Jan 01, 2017
  13. Dec 31, 2016
  14. Dec 05, 2016
  15. Dec 04, 2016
  16. Oct 30, 2016
  17. Oct 24, 2016
  18. Oct 14, 2016
  19. Oct 12, 2016
  20. Sep 22, 2016
    • Mark Adler's avatar
      Remove dummy structure declarations for old buggy compilers. · 3fb251b3
      Mark Adler authored
      While woolly mammoths still roamed the Earth and before Atlantis
      sunk into the ocean, there were C compilers that could not handle
      forward structure references, e.g. "struct name;". zlib dutifully
      provided a work-around for such compilers. That work-around is no
      longer needed, and, per the recommendation of a security audit of
      the zlib code by Trail of Bits and TrustInSoft, in support of the
      Mozilla Foundation, should be removed since what a compiler will
      do with this is technically undefined. From the report: "there is
      no telling what interactions the bug could have in the future with
      link-time optimizations and type-based alias analyses, both
      features that are present (but not default) in clang."
      3fb251b3
  21. Sep 21, 2016
    • Mark Adler's avatar
      Add option to not compute or check check values. · 9852c209
      Mark Adler authored
      The undocumented (except in these commit comments) function
      inflateValidate(strm, check) can be called after an inflateInit(),
      inflateInit2(), or inflateReset2() with check equal to zero to
      turn off the check value (CRC-32 or Adler-32) computation and
      comparison. Calling with check not equal to zero turns checking
      back on. This should only be called immediately after the init or
      reset function. inflateReset() does not change the state, so a
      previous inflateValidate() setting will remain in effect.
      
      This also turns off validation of the gzip header CRC when
      present.
      
      This should only be used when a zlib or gzip stream has already
      been checked, and repeated decompressions of the same stream no
      longer need to be validated.
      9852c209
  22. Sep 06, 2015
  23. Aug 02, 2015
  24. Jul 29, 2015
  25. Jul 06, 2015
  26. Apr 26, 2014
  27. May 03, 2013
Loading