summaryrefslogtreecommitdiff
path: root/drivers/crypto/aspeed/Kconfig
diff options
context:
space:
mode:
authorNeal Liu <neal_liu@aspeedtech.com>2023-01-04 04:34:33 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-01-13 07:11:18 +0300
commit2f1cf4e50c956f882c9fc209c7cded832b67b8a3 (patch)
tree05455e09273f810c13996ef968e29902b1175119 /drivers/crypto/aspeed/Kconfig
parentd07bd950b91efb4d6a960347c603f8424a1125d1 (diff)
downloadlinux-2f1cf4e50c956f882c9fc209c7cded832b67b8a3.tar.xz
crypto: aspeed - Add ACRY RSA driver
ACRY Engine is designed to accelerate the throughput of ECDSA/RSA signature and verification. This patch aims to add ACRY RSA engine driver for hardware acceleration. Signed-off-by: Neal Liu <neal_liu@aspeedtech.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/aspeed/Kconfig')
-rw-r--r--drivers/crypto/aspeed/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/crypto/aspeed/Kconfig b/drivers/crypto/aspeed/Kconfig
index ae2710ae8d8f..db6c5b4cdc40 100644
--- a/drivers/crypto/aspeed/Kconfig
+++ b/drivers/crypto/aspeed/Kconfig
@@ -46,3 +46,14 @@ config CRYPTO_DEV_ASPEED_HACE_CRYPTO
crypto driver.
Supports AES/DES symmetric-key encryption and decryption
with ECB/CBC/CFB/OFB/CTR options.
+
+config CRYPTO_DEV_ASPEED_ACRY
+ bool "Enable Aspeed ACRY RSA Engine"
+ depends on CRYPTO_DEV_ASPEED
+ select CRYPTO_ENGINE
+ select CRYPTO_RSA
+ help
+ Select here to enable Aspeed ECC/RSA Engine (ACRY)
+ RSA driver.
+ Supports 256 bits to 4096 bits RSA encryption/decryption
+ and signature/verification.