[PATCH] crypto: hisilicon/sec - add sm4 generic selection

Kai Ye posted 1 patch 4 years ago
drivers/crypto/hisilicon/Kconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH] crypto: hisilicon/sec - add sm4 generic selection
Posted by Kai Ye 4 years ago
Add sm4 generic selection for fallback tfm in the Kconfig.

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

diff --git a/drivers/crypto/hisilicon/Kconfig b/drivers/crypto/hisilicon/Kconfig
index e572f9982d4e..27e1fa912063 100644
--- a/drivers/crypto/hisilicon/Kconfig
+++ b/drivers/crypto/hisilicon/Kconfig
@@ -26,6 +26,7 @@ config CRYPTO_DEV_HISI_SEC2
 	select CRYPTO_SHA1
 	select CRYPTO_SHA256
 	select CRYPTO_SHA512
+	select CRYPTO_SM4
 	depends on PCI && PCI_MSI
 	depends on UACCE || UACCE=n
 	depends on ARM64 || (COMPILE_TEST && 64BIT)
-- 
2.33.0
Re: [PATCH] crypto: hisilicon/sec - add sm4 generic selection
Posted by Herbert Xu 4 years ago
On Tue, Apr 26, 2022 at 07:53:58PM +0800, Kai Ye wrote:
> Add sm4 generic selection for fallback tfm in the Kconfig.
> 
> Signed-off-by: Kai Ye <yekai13@huawei.com>
> ---
>  drivers/crypto/hisilicon/Kconfig | 1 +
>  1 file changed, 1 insertion(+)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt