mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
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>
This commit is contained in:
@@ -46,3 +46,14 @@ config CRYPTO_DEV_ASPEED_HACE_CRYPTO
|
|||||||
crypto driver.
|
crypto driver.
|
||||||
Supports AES/DES symmetric-key encryption and decryption
|
Supports AES/DES symmetric-key encryption and decryption
|
||||||
with ECB/CBC/CFB/OFB/CTR options.
|
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.
|
||||||
|
|||||||
@@ -5,3 +5,5 @@ obj-$(CONFIG_CRYPTO_DEV_ASPEED) += aspeed_crypto.o
|
|||||||
aspeed_crypto-objs := aspeed-hace.o \
|
aspeed_crypto-objs := aspeed-hace.o \
|
||||||
$(hace-hash-y) \
|
$(hace-hash-y) \
|
||||||
$(hace-crypto-y)
|
$(hace-crypto-y)
|
||||||
|
|
||||||
|
obj-$(CONFIG_CRYPTO_DEV_ASPEED_ACRY) += aspeed-acry.o
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user