]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: chelsio - select CRYPTO_GF128MUL
authorArnd Bergmann <arnd@arndb.de>
Tue, 5 Dec 2017 10:10:26 +0000 (11:10 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Dec 2017 08:02:24 +0000 (19:02 +1100)
commit7215aeeb90896469e95506bc8a8ffcc6996d60e3
tree2945e2086dc6a93141b104b073da0387901ee39e
parent6e49f691edc2e870a5664511f3bc51daa84ef76a
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: 3352b0b52647 ("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>
drivers/crypto/chelsio/Kconfig