Home
last modified time | relevance | path

Searched refs:checksum (Results 1 – 4 of 4) sorted by relevance

/coreutils/src/
Dsum.c44 int checksum = 0; /* The checksum mod 2^16. */ in bsd_sum_stream() local
79 checksum = (checksum >> 1) + ((checksum & 1) << 15); in bsd_sum_stream()
80 checksum += buffer[i]; in bsd_sum_stream()
81 checksum &= 0xffff; /* Keep it within bounds. */ in bsd_sum_stream()
95 checksum = (checksum >> 1) + ((checksum & 1) << 15); in bsd_sum_stream()
96 checksum += buffer[i]; in bsd_sum_stream()
97 checksum &= 0xffff; /* Keep it within bounds. */ in bsd_sum_stream()
106 memcpy (resstream, &checksum, sizeof checksum); in bsd_sum_stream()
179 int checksum = (r & 0xffff) + (r >> 16); in sysv_sum_stream() local
181 memcpy (resstream, &checksum, sizeof checksum); in sysv_sum_stream()
/coreutils/man/
Dsum.x2 sum \- checksum and count the blocks in a file
/coreutils/doc/
Dcoreutils.texi53 * cksum: (coreutils)cksum invocation. Print POSIX CRC checksum.
120 * sum: (coreutils)sum invocation. Print traditional checksum.
267 * sum invocation:: Print checksum and block counts
268 * cksum invocation:: Print CRC checksum and byte counts
3775 * sum invocation:: Print checksum and block counts.
3776 * cksum invocation:: Print CRC checksum and byte counts.
3946 @section @command{sum}: Print checksum and block counts
3949 @cindex 16-bit checksum
3950 @cindex checksum, 16-bit
3952 @command{sum} computes a 16-bit checksum for each given @var{file}, or
[all …]
/coreutils/
DNEWS50 presented with malformed checksum lines.
116 checksum utilities with cksum.
332 cksum now accepts the --raw option to output a raw binary checksum.
608 will introduce no future standalone checksum utility.
641 md5sum --check now supports checksum files with CRLF line endings.
1064 ignoring some non checksum lines. This also affects sha*sum and b2sum.
3651 md5sum -c would accept a NUL-containing checksum string like "abcd\0..."
3652 and would unnecessarily read and compute the checksum of the named file,
3653 and then compare that checksum to the invalid one: guaranteed to fail.
4377 sha224sum: print or check a SHA224 (224-bit) checksum
[all …]