Searched refs:checksum (Results 1 – 4 of 4) sorted by relevance
44 int checksum = 0; /* The checksum mod 2^16. */ in bsd_sum_stream() local79 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() local181 memcpy (resstream, &checksum, sizeof checksum); in sysv_sum_stream()
2 sum \- checksum and count the blocks in a file
53 * cksum: (coreutils)cksum invocation. Print POSIX CRC checksum.120 * sum: (coreutils)sum invocation. Print traditional checksum.267 * sum invocation:: Print checksum and block counts268 * cksum invocation:: Print CRC checksum and byte counts3775 * sum invocation:: Print checksum and block counts.3776 * cksum invocation:: Print CRC checksum and byte counts.3946 @section @command{sum}: Print checksum and block counts3949 @cindex 16-bit checksum3950 @cindex checksum, 16-bit3952 @command{sum} computes a 16-bit checksum for each given @var{file}, or[all …]
50 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 …]