Skip to content

Commit 2f1cf4e

Browse files
Neal-liuherbertx
authored andcommitted
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>
1 parent d07bd95 commit 2f1cf4e

File tree

3 files changed

+841
-0
lines changed

3 files changed

+841
-0
lines changed

drivers/crypto/aspeed/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,14 @@ config CRYPTO_DEV_ASPEED_HACE_CRYPTO
4646
crypto driver.
4747
Supports AES/DES symmetric-key encryption and decryption
4848
with ECB/CBC/CFB/OFB/CTR options.
49+
50+
config CRYPTO_DEV_ASPEED_ACRY
51+
bool "Enable Aspeed ACRY RSA Engine"
52+
depends on CRYPTO_DEV_ASPEED
53+
select CRYPTO_ENGINE
54+
select CRYPTO_RSA
55+
help
56+
Select here to enable Aspeed ECC/RSA Engine (ACRY)
57+
RSA driver.
58+
Supports 256 bits to 4096 bits RSA encryption/decryption
59+
and signature/verification.

drivers/crypto/aspeed/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ obj-$(CONFIG_CRYPTO_DEV_ASPEED) += aspeed_crypto.o
55
aspeed_crypto-objs := aspeed-hace.o \
66
$(hace-hash-y) \
77
$(hace-crypto-y)
8+
9+
obj-$(CONFIG_CRYPTO_DEV_ASPEED_ACRY) += aspeed-acry.o

0 commit comments

Comments
 (0)