diff mbox

[Xenial] crypto: vmx - Ensure ghash-generic is enabled

Message ID 1475760585-22003-1-git-send-email-marcelo.cerri@canonical.com
State New
Headers show

Commit Message

Marcelo Henrique Cerri Oct. 6, 2016, 1:29 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1630970

Select CRYPTO_GHASH for vmx_crypto since p8_ghash uses it as the
fallback implementation.

Signed-off-by: Marcelo Cerri <marcelo.cerri@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit 8df4f27c04c0e061b4b2c142bfbae1602bb1b776)
Signed-off-by: Marcelo Cerri <marcelo.cerri@canonical.com>
---
 drivers/crypto/vmx/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Tim Gardner Oct. 6, 2016, 1:38 p.m. UTC | #1
Cherry-picked from linux-next
Brad Figg Oct. 7, 2016, 7:39 p.m. UTC | #2

Tim Gardner Oct. 7, 2016, 10:48 p.m. UTC | #3

diff mbox

Patch

diff --git a/drivers/crypto/vmx/Kconfig b/drivers/crypto/vmx/Kconfig
index 89d8208..b225742 100644
--- a/drivers/crypto/vmx/Kconfig
+++ b/drivers/crypto/vmx/Kconfig
@@ -1,6 +1,7 @@ 
 config CRYPTO_DEV_VMX_ENCRYPT
 	tristate "Encryption acceleration support on P8 CPU"
 	depends on CRYPTO_DEV_VMX
+	select CRYPTO_GHASH
 	default y
 	help
 	  Support for VMX cryptographic acceleration instructions on Power8 CPU.