diff options
author | phk <phk@FreeBSD.org> | 1997-09-26 08:02:18 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-09-26 08:02:18 +0000 |
commit | f5b2fcb0c6f815432425d9ea40997a1fbf5e5ad0 (patch) | |
tree | 497278b0189320a5cb0a67bdfad51d1c684c87e6 /usr.bin/cksum/cksum.1 | |
parent | fac1bc9849ae1889e0cb9b40de0921d076888090 (diff) | |
download | FreeBSD-src-f5b2fcb0c6f815432425d9ea40997a1fbf5e5ad0.zip FreeBSD-src-f5b2fcb0c6f815432425d9ea40997a1fbf5e5ad0.tar.gz |
Add canonical 32bit crc as alorithm 3.
PR: 4615
Reviewed by: phk
Submitted by: Mike Meyer <mwm@shiva.the-park.com>
Diffstat (limited to 'usr.bin/cksum/cksum.1')
-rw-r--r-- | usr.bin/cksum/cksum.1 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/cksum/cksum.1 b/usr.bin/cksum/cksum.1 index c94fceb..43fdf29 100644 --- a/usr.bin/cksum/cksum.1 +++ b/usr.bin/cksum/cksum.1 @@ -33,7 +33,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)cksum.1 8.2 (Berkeley) 4/28/95 -.\" $Id: cksum.1,v 1.4 1997/06/25 07:02:00 charnier Exp $ +.\" $Id: cksum.1,v 1.5 1997/07/06 03:03:06 bde Exp $ .\" .Dd April 28, 1995 .Dt CKSUM 1 @@ -98,6 +98,11 @@ r = s % 2^16 + (s % 2^32) / 2^16; cksum = (r % 2^16) + r / 2^16; .Ed .Pp +Algorithm 3 is what is commonly called the +.Ql 32bit CRC +algorithm. +This is a 32-bit checksum. +.Pp Both algorithm 1 and 2 write to the standard output the same fields as the default algorithm except that the size of the file in bytes is replaced with the size of the file in blocks. |