coreutils/tests/cksum
Pádraig Brady a94929715c cksum: add support for --algorithm=crc32b
$ echo -n '123456789' | cksum --raw -a crc32b | basenc --base16
  CBF43926

* bootstrap.conf: Explicitly depend on the crc module.
* doc/coreutils.texi (cksum): Add "crc32b" as an argument to -a.
* src/cksum.c (crc32b_sum_stream): A new function similar to
crc_sum_stream, but which does not include the length in
the CRC calculation.
* src/cksum.h: Add crc32b_sum_stream prototype.
* src/digest.c: Add "crc32b" as an argument to -a.
* tests/cksum/cksum.sh: Refactor to test both crc and crc32b.
* tests/cksum/cksum-a.sh: Add "crc32b" case.
* tests/cksum/cksum-base64.pl: Likewise.
* tests/misc/read-errors.sh: Likewise.
* NEWS: Mention the new feature.
2024-11-02 19:57:35 +00:00
..
b2sum.sh cksum: consistently validate --length attributes 2024-03-04 16:35:27 +00:00
cksum-a.sh cksum: add support for --algorithm=crc32b 2024-11-02 19:57:35 +00:00
cksum-base64.pl cksum: add support for --algorithm=crc32b 2024-11-02 19:57:35 +00:00
cksum-c.sh tests: cksum: verify --check with comments 2024-10-20 14:11:38 +01:00
cksum-raw.sh maint: update all copyright year number ranges 2024-01-01 13:27:23 +00:00
cksum.sh cksum: add support for --algorithm=crc32b 2024-11-02 19:57:35 +00:00
md5sum-bsd.sh maint: update all copyright year number ranges 2024-01-01 13:27:23 +00:00
md5sum-newline.pl maint: update all copyright year number ranges 2024-01-01 13:27:23 +00:00
md5sum-parallel.sh maint: update all copyright year number ranges 2024-01-01 13:27:23 +00:00
md5sum.pl maint: update all copyright year number ranges 2024-01-01 13:27:23 +00:00
sha1sum-vec.pl maint: update all copyright year number ranges 2024-01-01 13:27:23 +00:00
sha1sum.pl maint: update all copyright year number ranges 2024-01-01 13:27:23 +00:00
sha224sum.pl maint: update all copyright year number ranges 2024-01-01 13:27:23 +00:00
sha256sum.pl maint: update all copyright year number ranges 2024-01-01 13:27:23 +00:00
sha384sum.pl maint: update all copyright year number ranges 2024-01-01 13:27:23 +00:00
sha512sum.pl maint: update all copyright year number ranges 2024-01-01 13:27:23 +00:00
sm3sum.pl maint: update all copyright year number ranges 2024-01-01 13:27:23 +00:00
sum-sysv.sh maint: update all copyright year number ranges 2024-01-01 13:27:23 +00:00
sum.pl maint: update all copyright year number ranges 2024-01-01 13:27:23 +00:00