From b567eae0c502b17879538864a4fbb53e86b7bb9f Mon Sep 17 00:00:00 2001
From: Benjamin Bara <Benjamin.Bara@skidata.com>
Date: Wed, 29 Jun 2022 12:27:34 +0200
Subject: [PATCH] crypto: hash: sw: fix Kconfig dependencies

Fix SHA512 config name and add missing SHA384 config.

Signed-off-by: Benjamin Bara <Benjamin.Bara@skidata.com>
---
 drivers/crypto/hash/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/crypto/hash/Kconfig b/drivers/crypto/hash/Kconfig
index bf9540eca6..aa355c44be 100644
--- a/drivers/crypto/hash/Kconfig
+++ b/drivers/crypto/hash/Kconfig
@@ -10,7 +10,8 @@ config HASH_SOFTWARE
 	depends on MD5
 	depends on SHA1
 	depends on SHA256
-	depends on SHA512_ALGO
+	depends on SHA384
+	depends on SHA512
 	help
 	  Enable driver for hashing operations in software. Currently
 	  it support multiple hash algorithm including CRC/MD5/SHA.
-- 
2.39.5