summaryrefslogtreecommitdiff
path: root/lib/crc32.c
AgeCommit message (Collapse)AuthorFilesLines
2009-09-16lib: add a generic crc32()Karel Zak1-0/+116
This is public domain implementation, based on static crc32_table[]. This implementation is used on may places (libparted, FreeBSD kernel, PostgreSQL, ...). The Linux kernel uses on-the-fly generated and allocated tables. That's useless in shared libraries. Signed-off-by: Karel Zak <kzak@redhat.com>