[AUTOSEL,for,4.14,078/161] crypto: artpec6 - remove select on non-existing CRYPTO_SHA384

Message ID 20180409001936.162706-78-alexander.levin@microsoft.com
State New
Headers show
Series
  • Untitled series #10519
Related show

Commit Message

Sasha Levin April 9, 2018, 12:20 a.m.
From: Corentin LABBE <clabbe.montjoie@gmail.com>


[ Upstream commit 980b4c95e78e4113cb7b9f430f121dab1c814b6c ]

Since CRYPTO_SHA384 does not exists, Kconfig should not select it.
Anyway, all SHA384 stuff is in CRYPTO_SHA512 which is already selected.

Fixes: a21eb94fc4d3i ("crypto: axis - add ARTPEC-6/7 crypto accelerator driver")
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>

---
 drivers/crypto/Kconfig | 1 -
 1 file changed, 1 deletion(-)

-- 
2.15.1

Patch

diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index fe33c199fc1a..143f8bc403b9 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -721,7 +721,6 @@  config CRYPTO_DEV_ARTPEC6
 	select CRYPTO_HASH
 	select CRYPTO_SHA1
 	select CRYPTO_SHA256
-	select CRYPTO_SHA384
 	select CRYPTO_SHA512
 	help
 	  Enables the driver for the on-chip crypto accelerator