summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/starfive/Kconfig
diff options
context:
space:
mode:
authorJia Jie Ho <jiajie.ho@starfivetech.com>2023-06-12 10:52:30 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2023-06-23 10:15:36 +0200
commit445a4aaf5842073e4130b1d6dbe3785284d9615f (patch)
treebd1b79bee2589ca5d1d5ef234ff80d4c0e262187 /drivers/crypto/starfive/Kconfig
parentcrypto: starfive - Update hash module irq handling (diff)
downloadlinux-445a4aaf5842073e4130b1d6dbe3785284d9615f.tar.xz
linux-445a4aaf5842073e4130b1d6dbe3785284d9615f.zip
crypto: starfive - Add RSA algo support
Adding RSA enc/dec and sign/verify feature for StarFive cryptographic module. The module only supports mod sizes up to 2048, therefore calculations more than that will use fallback algo. Co-developed-by: Huan Feng <huan.feng@starfivetech.com> Signed-off-by: Huan Feng <huan.feng@starfivetech.com> Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/starfive/Kconfig')
-rw-r--r--drivers/crypto/starfive/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/starfive/Kconfig b/drivers/crypto/starfive/Kconfig
index 59002abcc0ad..df745fcb09df 100644
--- a/drivers/crypto/starfive/Kconfig
+++ b/drivers/crypto/starfive/Kconfig
@@ -11,6 +11,7 @@ config CRYPTO_DEV_JH7110
select CRYPTO_SHA256
select CRYPTO_SHA512
select CRYPTO_SM3_GENERIC
+ select CRYPTO_RSA
help
Support for StarFive JH7110 crypto hardware acceleration engine.
This module provides acceleration for public key algo,