* crc.pl: New file; perl script to do generate some test vectors
authorTom Yu <tlyu@mit.edu>
Wed, 9 Jan 2002 00:20:17 +0000 (00:20 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 9 Jan 2002 00:20:17 +0000 (00:20 +0000)
commita4e7178b9f617c687d50bb427e2e79a5e54015d3
tree4a5c4cba4d53c9248ead43f36ddb4ecd9614ecfd
parent9567ca2d451162647e530339a2960410ee8af4bc
* crc.pl: New file; perl script to do generate some test vectors
and CRC tables.

* CRC.pm: New file; perl module to implement CRCs in terms of
polynomial arithmetic (verrrry slooow).

* Poly.pm: New file; perl module to do polynomial arithmetic in
the field of integers mod 2.

* t_crc.c: New file; do some sanity checks (and timing checks,
more useful when building shift-4 as well).

* Makefile.in (check-unix): Add rules for building, running
t_crc.

* crc32.c (mit_crc32_shift4): Add new function, usually not
compiled, for shift-4 implementation of CRC32.

* crc-32.h: Add (conditionalized) prototype for the shift-4
function; remove checksum_entry (it's no longer used).

* crctest.c: Removed.

* crc-test: Removed.

* crc.c: Removed.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14095 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/crypto/crc32/CRC.pm [new file with mode: 0644]
src/lib/crypto/crc32/ChangeLog
src/lib/crypto/crc32/Makefile.in
src/lib/crypto/crc32/Poly.pm [new file with mode: 0644]
src/lib/crypto/crc32/crc-32.h
src/lib/crypto/crc32/crc-test [deleted file]
src/lib/crypto/crc32/crc.c [deleted file]
src/lib/crypto/crc32/crc.pl [new file with mode: 0644]
src/lib/crypto/crc32/crc32.c
src/lib/crypto/crc32/crctest.c [deleted file]
src/lib/crypto/crc32/t_crc.c [new file with mode: 0644]