crypto: chelsio - select CRYPTO_GF128MUL
authorArnd Bergmann <arnd@arndb.de>
Tue, 5 Dec 2017 10:10:26 +0000 (11:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jan 2018 08:31:18 +0000 (09:31 +0100)
commitd4f9aaeb26d024f2f239b19a68d3e339628e1066
tree453e66f52c82f619b67a2f33a05c23566326f64e
parent7156c794b8ab462705e6ac80c5fa69565eb44c62
crypto: chelsio - select CRYPTO_GF128MUL

commit d042566d8c704e1ecec370300545d4a409222e39 upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/chelsio/Kconfig