summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-12-05 11:10:26 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2017-12-22 19:02:24 +1100
commitd042566d8c704e1ecec370300545d4a409222e39 (patch)
tree2945e2086dc6a93141b104b073da0387901ee39e
parentd53c5135792319e095bb126bc43b2ee98586f7fe (diff)
downloadlinux-stable-d042566d8c704e1ecec370300545d4a409222e39.tar.gz
linux-stable-d042566d8c704e1ecec370300545d4a409222e39.tar.bz2
linux-stable-d042566d8c704e1ecec370300545d4a409222e39.zip
crypto: chelsio - select CRYPTO_GF128MUL
Without the gf128mul library support, we can run into a link error: drivers/crypto/chelsio/chcr_algo.o: In function `chcr_update_tweak': chcr_algo.c:(.text+0x7e0): undefined reference to `gf128mul_x8_ble' This adds a Kconfig select statement for it, next to the ones we already have. Cc: <stable@vger.kernel.org> Fixes: b8fd1f4170e7 ("crypto: chcr - Add ctr mode and process large sg entries for cipher") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--drivers/crypto/chelsio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/chelsio/Kconfig b/drivers/crypto/chelsio/Kconfig
index 3e104f5aa0c2..b56b3f711d94 100644
--- a/drivers/crypto/chelsio/Kconfig
+++ b/drivers/crypto/chelsio/Kconfig
@@ -5,6 +5,7 @@ config CRYPTO_DEV_CHELSIO
select CRYPTO_SHA256
select CRYPTO_SHA512
select CRYPTO_AUTHENC
+ select CRYPTO_GF128MUL
---help---
The Chelsio Crypto Co-processor driver for T6 adapters.