aboutsummaryrefslogtreecommitdiffstats
path: root/src/blake2/blake2-impl.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2025-07-04maint: prefer endian.h macros to WORDS_BIGENDIAN, part 2Collin Funk1-1/+2
* src/blake2/blake2-impl.h: Include endian.h. Use BYTE_ORDER and LITTLE_ENDIAN instead of WORDS_BIGENDIAN.
2022-09-15maint: don’t include config.h twicePaul Eggert1-3/+0
* gl/lib/fadvise.h, gl/lib/smack.h, src/blake2/blake2-impl.h: Do not include config.h from a .h file. config.h is supposed to be included once, at the start of compilation and before any other file.
2020-02-25b2sum: sync better with upstreamPádraig Brady1-2/+9
* src/blake2/blake2-impl.h: Sync load16() implementation, which doesn't change code generation. Also leverage (builtin) memcpy to more efficiently move data on little endian systems, giving a 2% win with GCC 9.2.1 on an i3-2310M.
2017-09-19all: prefer HTTPS in URLsPaul Eggert1-2/+2
2017-07-23maint: resync with blake2 upstreamPádraig Brady1-1/+2
* src/blake2/blake2-impl.h: Don't use the equivalent explicit_bzero().
2017-07-20shred: use explicit_bzeroPaul Eggert1-2/+1
* NEWS: Document this. * bootstrap.conf (gnulib_modules): Add explicit_bzero. * gl/lib/randint.c (randint_free): * gl/lib/randread.c (randread_free): * src/blake2/blake2-impl.h (secure_zero_memory): * src/shred.c (dopass, do_wipefd): Prefer explicit_bzero to memset when erasing secrets.
2016-11-22b2sum: a new checksum utility with md5sum like interfacePádraig Brady1-0/+160
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.