Commit Graph

9 Commits

Author SHA1 Message Date
atatat 157a88bcf0 Apparently changing crc() to ccrc() was bad, since mtree does a reachover.
Revert ccrc() to crc() and change local variables called crc to thecrc
instead.
2001-03-21 03:16:38 +00:00
atatat 0d2c6226b0 Rename the crc() function to ccrc() since that removes a compiler warning
when WARNS=2.
2001-03-20 18:48:10 +00:00
atatat 61e4caef25 Add MD2, MD4, SHA1, and RMD160 support to cksum. Adding new hashes to
cksum(1) should now be easy.
2001-03-20 18:46:25 +00:00
thorpej 0941c04d45 Add support for generating MD5 checksums, partially derived from the
FreeBSD md5(1) program.  MD5 checksums may be generated by using the
"-m" flag to cksum, or by invoking this program as "md5".
1997-01-30 01:10:32 +00:00
glass 7659edad1f merged with 4.4Lite 1995-03-26 04:55:22 +00:00
cgd 8020777591 cksum uses 32-bit quantites, internally 1994-12-24 16:02:45 +00:00
cgd 19f1d2d611 update to the latest cksum utility from uunet. this one is posix
compliant (i think), and fixes a bogon in the old CRC calculation.
yes, that's right, the CRC's it generates are different.
1993-11-02 07:33:08 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00