summaryrefslogtreecommitdiff
path: root/sys/lib/libz/crc32.c
AgeCommit message (Collapse)Author
2023-08-04Sync with userland libzTheo Buehler
2023-04-25zlib: sync with srcTheo Buehler
2022-10-23Drop RCS ids in upstream zlib sourceTheo Buehler
We're not maintaining a this as a fork, it's upstream source with a handful of patches. Thus, the RCS ids aren't particularly useful or important. They are a bit of a maintenance burden and generate noise in diffs. ok kn, no objection millert, "kill" guess who
2022-10-20Sync sys libz with baseTheo Buehler
2022-05-08Backport an upstream fix for CRC calculation. This fixes Java applicationsTheo Buehler
on some older hardware, see https://github.com/madler/zlib/issues/613 Pointed out by tj and sthen commit ec3df00224d4b396e2ac6586ab5d25f673caa4c2 Author: Mark Adler <madler@alumni.caltech.edu> Date: Wed Mar 30 11:14:53 2022 -0700 Correct incorrect inputs provided to the CRC functions. The previous releases of zlib were not sensitive to incorrect CRC inputs with bits set above the low 32. This commit restores that behavior, so that applications with such bugs will continue to operate as before.
2022-05-08Update to zlib 1.2.12Theo Buehler
Build tests by myself for amd64 and arm64, sthen and inoguchi for i386 and gkoehler for macppc and powerpc64, thanks! Detailed changelog is part of the committed diff.
2021-07-04Update libz to zlib 1.2.11 and reapply local patches as far as thisTheo Buehler
made sense. Tested in snaps for a few days. deraadt helped with fitting things on floppies and jmatthew found a bug I introduced. ok deraadt
2011-07-07Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libzTheo de Raadt
code. Missing chunks of the API are imported from the libc version, with a few #ifdef's to port it into the kernel environment. The bootblocks already used the newer code, and should encounter no surprises since there are so few changes to the existing files. In the kernel, ipcomp and kernel ppp are changed to the new API. ipcomp has been tested. ok tedu the brave
2005-07-20Update to zlib 1.2.3; OK deraadt@Todd C. Miller
2004-12-03zlib-1.21 here tooDamien Miller
2003-12-16Update to zlib 1.2.1Todd C. Miller
2002-03-12Update to zlib-1.1.4Todd C. Miller
2000-03-03$OpenBSD$Todd T. Fries
1998-09-08Let's commit the correct files, shall we. This is the real zlib-1.1.3...Todd C. Miller
1998-09-08Update from zlib-1.1.3. These should really just be references to ↵Todd C. Miller
../../../lib/libz/*
1998-05-30more const here and there; so would benefit everyoneMichael Shalayeff
1997-11-07$OpenBSD$Niklas Hallqvist
1997-04-02#ifndef localMichael Shalayeff
#define local static #endif
1997-02-06Add libz and make libsa aware of it. From NetBSD.Jason Downs