pkgsrc/pkgtools/digest/files
mcf b631703ee1 digest: fix aliasing bug with gcc 11
gcc 11 with -O2 optimizes away the store of the bit length into the
last 8 bytes of the context buffer due to an aliasing violation
(stored through uint64_t, retrieved through uint32_t).

To fix this, import the NetBSD patch from christos[0] which makes
it use memcpy instead.

[0] http://cvsweb.netbsd.org/bsdweb.cgi/src/common/lib/libc/hash/sha2/sha2.c.diff?r1=1.12&r2=1.13
2022-02-15 05:25:38 +00:00
..
aclocal.m4
AUTHORS
blake2b-hl.c
blake2b.c
blake2b.h
blake2s-hl.c
blake2s.c digest: Remove _POSIX_C_SOURCE. PR pkg/56439 2021-10-05 15:38:48 +00:00
blake2s.h
config.guess
config.h.in
config.sub
configure digest: fix aliasing bug with gcc 11 2022-02-15 05:25:38 +00:00
configure.ac
COPYING
DESCR
digest.1
digest.c digest: match b2sum in terms of capitalizing BLAKE2s/BLAKE2b 2021-10-23 18:09:13 +00:00
INSTALL
install-sh
keccak.c
keccak.h
Makefile.in
md5.h
md5c.c
md5hl.c
missing
mkinstalldirs
NEWS
PLIST
README
regress.sh
rmd160.c
rmd160.h
rmd160hl.c
sha1.c
sha1.h
sha1hl.c
sha2.c digest: fix aliasing bug with gcc 11 2022-02-15 05:25:38 +00:00
sha2.h
sha2hl.c
sha3.c
sha3.h
sha3hl.c
tiger.c
tiger.h
whirlpool.c
whirlpool.h

The digest utility is a wrapper for the blake2b, md5, sha1, sha256, sha384,
sha512 and rmd160 message digest algorithms. It first appeared in NetBSD 1.6.