From: Benjamin Bara <Benjamin.Bara@skidata.com>
Date: Wed, 29 Jun 2022 10:27:34 +0000 (+0200)
Subject: crypto: hash: sw: fix Kconfig dependencies
X-Git-Tag: v2025.01-rc5-pxa1908~1232^2~7
X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=b567eae0c502b17879538864a4fbb53e86b7bb9f;p=u-boot.git

crypto: hash: sw: fix Kconfig dependencies

Fix SHA512 config name and add missing SHA384 config.

Signed-off-by: Benjamin Bara <Benjamin.Bara@skidata.com>
---

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.