Whamcloud - gitweb
LU-8560 libcfs: add autoconf test for crypto changes 05/22205/3
authorJames Simmons <uja.ornl@yahoo.com>
Sun, 28 Aug 2016 18:59:46 +0000 (14:59 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 8 Sep 2016 02:06:22 +0000 (02:06 +0000)
commit725ea49d8bd42e5acad2045acb3b6f72969c08ff
tree7adc3cc809a69719c03576ab1a025ad4103459f9
parentb83b016c487ce5c9793cc75a230adec54a2d95af
LU-8560 libcfs: add autoconf test for crypto changes

For linux 4.5 kernels the simple ifdef test in
linux-crypto.c worked but with linux 4.6+ kernels
we need to add a proper crypto api test for the
new inline functions crypto_ahash_alg_name() and
crypto_ahash_driver_name().

Test-Parameters: trivial

Change-Id: Ic18808b622d374cf6dc2417220ed83adc43ea692
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: http://review.whamcloud.com/22205
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
libcfs/autoconf/lustre-libcfs.m4
libcfs/libcfs/linux/linux-crypto.c