Commit 2f1cf4e5 authored by Neal Liu's avatar Neal Liu Committed by Herbert Xu
Browse files

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: default avatarNeal Liu <neal_liu@aspeedtech.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent d07bd950
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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.
+2 −0
Original line number Diff line number Diff line
@@ -5,3 +5,5 @@ obj-$(CONFIG_CRYPTO_DEV_ASPEED) += aspeed_crypto.o
aspeed_crypto-objs := aspeed-hace.o	\
		      $(hace-hash-y)	\
		      $(hace-crypto-y)

obj-$(CONFIG_CRYPTO_DEV_ASPEED_ACRY) += aspeed-acry.o
+828 −0

File added.

Preview size limit exceeded, changes collapsed.