diff mbox series

[v2,6/6] crypto: hisilicon/sec - add sm3/md5 generic selection for ahash

Message ID 20210924092716.12848-7-yekai13@huawei.com (mailing list archive)
State Changes Requested
Delegated to: Herbert Xu
Headers show
Series crypto: hisilicon - supports hash algorithm for SEC engine | expand

Commit Message

yekai (A) Sept. 24, 2021, 9:27 a.m. UTC
Add sm3/md5 generic selection for ahash in the Kconfig.

Signed-off-by: Kai Ye <yekai13@huawei.com>
---
 drivers/crypto/hisilicon/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/drivers/crypto/hisilicon/Kconfig b/drivers/crypto/hisilicon/Kconfig
index e572f9982d4e..300398665fc5 100644
--- a/drivers/crypto/hisilicon/Kconfig
+++ b/drivers/crypto/hisilicon/Kconfig
@@ -23,6 +23,8 @@  config CRYPTO_DEV_HISI_SEC2
 	select CRYPTO_AEAD
 	select CRYPTO_AUTHENC
 	select CRYPTO_HMAC
+	select CRYPTO_MD5
+	select CRYPTO_SM3
 	select CRYPTO_SHA1
 	select CRYPTO_SHA256
 	select CRYPTO_SHA512