[PATCH] crypto: hash: sw: fix Kconfig dependencies

Benjamin Bara bbara93 at gmail.com
Wed Jun 29 12:27:34 CEST 2022


From: Benjamin Bara <Benjamin.Bara at skidata.com>

Fix SHA512 config name and add missing SHA384 config.

Signed-off-by: Benjamin Bara <Benjamin.Bara at 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.34.1



More information about the U-Boot mailing list