Re: [PATCH] crypto: chcr: select CRYPTO_GF128MUL

2017-12-22 Thread Herbert Xu
On Tue, Dec 05, 2017 at 11:10:26AM +0100, Arnd Bergmann wrote:
> 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 

Patch applied.  Thanks.
-- 
Email: Herbert Xu 
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


Re: [PATCH] crypto: chcr: select CRYPTO_GF128MUL

2017-12-22 Thread Herbert Xu
On Tue, Dec 05, 2017 at 11:10:26AM +0100, Arnd Bergmann wrote:
> 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 

Patch applied.  Thanks.
-- 
Email: Herbert Xu 
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


[PATCH] crypto: chcr: select CRYPTO_GF128MUL

2017-12-05 Thread Arnd Bergmann
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 
---
 drivers/crypto/chelsio/Kconfig | 1 +
 1 file changed, 1 insertion(+)

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.
 
-- 
2.9.0



[PATCH] crypto: chcr: select CRYPTO_GF128MUL

2017-12-05 Thread Arnd Bergmann
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 
---
 drivers/crypto/chelsio/Kconfig | 1 +
 1 file changed, 1 insertion(+)

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.
 
-- 
2.9.0