b2sum: a new checksum utility with md5sum like interface
commitea94589e9ef02624a3837f97f80efd7d3dcf56bf
authorPádraig Brady <P@draigBrady.com>
Mon, 31 Oct 2016 13:29:34 +0000 (31 13:29 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 22 Nov 2016 20:04:24 +0000 (22 20:04 +0000)
tree5f3f96ca978e3e43c485d914bf95c8ffdeeb41dd
parent373ba16f332d0632f2ce987893ed67bb4334c5d2
b2sum: a new checksum utility with md5sum like interface

Note we don't support the --algorithm option of the
b2sum command in the external BLAKE2 project, as that
was deemed too confusing for users.
"BLAKE2b" was chosen as the default algorithm to use,
which is single threaded but performs well on 64 bit.

* src/blake2: CC0 source copied from external project.
* cfg.mk[VC_LIST_ALWAYS_EXCLUDE_REGEX]: Exclude blake2/
from syntax checks, make update-copyright, etc.
* src/local.mk: Reference the sources for b2sum,
and set the compilation flags.
* doc/coreutils.texi (b2sum invocation): Reference the
md5sum invocation node, and add descriptions of -l.
* tests/misc/b2sum.sh: Add new test.
* tests/local.mk: Reference new test.
* AUTHORS: Add new binary.
* README: Likewise.
* build-aux/gen-lists-of-programs.sh: Likewise.
* man/.gitignore: Likewise.
* scripts/git-hooks/commit-msg: Likewise.
* man/b2sum.x: New man page template.
* man/local.mk: Reference new template.
* src/.gitignore: Ignore new binaries.
* src/blake2/.gitignore: Ignore new build atrifacts.
* src/md5sum.c (usage): Describe the new -l option.
* NEWS: Mention the new program.
23 files changed:
AUTHORS
NEWS
README
THANKS.in
build-aux/gen-lists-of-programs.sh
cfg.mk
doc/coreutils.texi
man/.gitignore
man/b2sum.x [new file with mode: 0644]
man/local.mk
scripts/git-hooks/commit-msg
src/.gitignore
src/blake2/.gitignore [new file with mode: 0644]
src/blake2/b2sum.c [new file with mode: 0644]
src/blake2/b2sum.h [new file with mode: 0644]
src/blake2/blake2-impl.h [new file with mode: 0644]
src/blake2/blake2.h [new file with mode: 0644]
src/blake2/blake2b-ref.c [new file with mode: 0644]
src/local.mk
src/md5sum.c
tests/local.mk
tests/misc/b2sum.sh [new file with mode: 0755]
tests/misc/md5sum-bsd.sh