]> Savannah Git Hosting - gnulib.git/commit
af_alg: disable kernel hash functions by default
authorPádraig Brady <P@draigBrady.com>
Sun, 24 Jun 2018 09:09:12 +0000 (02:09 -0700)
committerPádraig Brady <P@draigBrady.com>
Sun, 24 Jun 2018 20:54:52 +0000 (13:54 -0700)
commit71cc633a0f27a41befb4bf2e18fc7200e38a7157
tree14ec344853a8b06d6d4b926b2593ff6dbef65ccb
parent20c918561e6af48b03f3dbaa7553dfd688fd9732
af_alg: disable kernel hash functions by default

All the kernel routines were seen to be significantly slower
with these relatively recent components on an i3-2310M system:
  kernel-4.10.6-200.fc25.x86_64
  openssl-1.0.2m-1.fc25.x86_64
sha1 was nearly twice as slow in the kernel for example,
compared to the libcrypto routines.

Further considerations why this should not be the default, at:
https://lists.gnu.org/r/coreutils/2018-06/msg00034.html

* m4/af_alg.m4: Require --with-linux-crypto to enable.
* m4/gl-openssl.m4: Tweak accordingly.
ChangeLog
m4/af_alg.m4
m4/gl-openssl.m4