Package: coreutils Version: 8.26-3 Severity: normal Dear Maintainer,
the sha{1,224,256,384,512}sum tools included in the coreutils package can be compiled with libcrypto support. At the expense of a runtime dependency, the speed gain of the hash calculation is quite noticeable under amd64: matteo@saturno:~$ dd status=none if=/dev/zero bs=1G count=10 |time -p sha1sum a0b6e2ca4e28360a929943e8eb966f703a69dc44 - real 29.27 user 25.71 sys 1.68 matteo@saturno:~$ dd status=none if=/dev/zero bs=1G count=10 |time -p ./sha1sum a0b6e2ca4e28360a929943e8eb966f703a69dc44 - real 20.91 user 17.35 sys 1.67 while it's huge on aarch64: matteo@macchiatobin:~$ dd status=none if=/dev/zero bs=1G count=10 |time -p sha1sum a0b6e2ca4e28360a929943e8eb966f703a69dc44 - real 49.37 user 44.34 sys 3.11 matteo@macchiatobin:~$ dd status=none if=/dev/zero bs=1G count=10 |time -p ./sha1sum a0b6e2ca4e28360a929943e8eb966f703a69dc44 - real 15.53 user 9.88 sys 3.37 ldd output between Debian binary and the test one (grabbed from a Fedora 27 RPM) matteo@saturno:~$ ldd /usr/bin/sha1sum linux-vdso.so.1 (0x00007fff4a5be000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f01debf3000) /lib64/ld-linux-x86-64.so.2 (0x00007f01df19e000) matteo@saturno:~$ ldd ./sha1sum linux-vdso.so.1 (0x00007fffcabc7000) libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007fb4a7086000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb4a6ce7000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb4a6ae3000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb4a68c6000) /lib64/ld-linux-x86-64.so.2 (0x00007fb4a7724000) -- System Information: Debian Release: 9.4 APT prefers stable APT policy: (990, 'stable'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.16.0-saturno (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages coreutils depends on: ii libacl1 2.2.52-3+b1 ii libattr1 1:2.4.47-2+b2 ii libc6 2.24-11+deb9u3 ii libselinux1 2.6-3+b3 coreutils recommends no packages. coreutils suggests no packages. -- no debconf information