summaryrefslogtreecommitdiff
path: root/drivers/crypto/hash/Kconfig
diff options
context:
space:
mode:
authorChia-Wei Wang <[email protected]>2021-07-30 09:08:04 +0800
committerTom Rini <[email protected]>2021-09-01 19:25:37 -0400
commite5d870fa1ecbcd4efcc13fa6d69c6754e39cff62 (patch)
tree134a585c636535651b53be42a1dd3f5fca2dcf3b /drivers/crypto/hash/Kconfig
parent4deaff791cd44e95e545ad8cd74dea25b4993499 (diff)
crypto: hash: Add software hash DM driver
Add purely software-implmented drivers to support multiple hash operations including CRC, MD5, and SHA family. This driver is based on the new hash uclass. Signed-off-by: Chia-Wei Wang <[email protected]>
Diffstat (limited to 'drivers/crypto/hash/Kconfig')
-rw-r--r--drivers/crypto/hash/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/crypto/hash/Kconfig b/drivers/crypto/hash/Kconfig
index e226144b9b2..cd29a5c6a4f 100644
--- a/drivers/crypto/hash/Kconfig
+++ b/drivers/crypto/hash/Kconfig
@@ -3,3 +3,14 @@ config DM_HASH
depends on DM
help
If you want to use driver model for Hash, say Y.
+
+config HASH_SOFTWARE
+ bool "Enable driver for Hash in software"
+ depends on DM_HASH
+ depends on MD5
+ depends on SHA1
+ depends on SHA256
+ depends on SHA512_ALGO
+ help
+ Enable driver for hashing operations in software. Currently
+ it support multiple hash algorithm including CRC/MD5/SHA.