summaryrefslogtreecommitdiff
path: root/drivers/crypto/aspeed/Kconfig
diff options
context:
space:
mode:
authorNeal Liu <neal_liu@aspeedtech.com>2022-08-18 06:59:56 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2022-08-26 13:50:38 +0300
commit62f58b1637b7c8df34afaa548cb4b03d31c0764b (patch)
tree6ba752c7c9f0fd5ae7fd13b985800cea3de8ff8a /drivers/crypto/aspeed/Kconfig
parentc3708e6562694872e34c2aa41b6c949e98ee5945 (diff)
downloadlinux-62f58b1637b7c8df34afaa548cb4b03d31c0764b.tar.xz
crypto: aspeed - add HACE crypto driver
Add HACE crypto driver to support symmetric-key encryption and decryption with multiple modes of operation. Signed-off-by: Neal Liu <neal_liu@aspeedtech.com> Signed-off-by: Johnny Huang <johnny_huang@aspeedtech.com> Reviewed-by: Dhananjay Phadke <dphadke@linux.microsoft.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/aspeed/Kconfig')
-rw-r--r--drivers/crypto/aspeed/Kconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/crypto/aspeed/Kconfig b/drivers/crypto/aspeed/Kconfig
index 03e3fc61498e..001bf2e09a72 100644
--- a/drivers/crypto/aspeed/Kconfig
+++ b/drivers/crypto/aspeed/Kconfig
@@ -30,3 +30,20 @@ config CRYPTO_DEV_ASPEED_HACE_HASH
hash driver.
Supports multiple message digest standards, including
SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, and so on.
+
+config CRYPTO_DEV_ASPEED_HACE_CRYPTO
+ bool "Enable Aspeed Hash & Crypto Engine (HACE) crypto"
+ depends on CRYPTO_DEV_ASPEED
+ select CRYPTO_ENGINE
+ select CRYPTO_AES
+ select CRYPTO_DES
+ select CRYPTO_ECB
+ select CRYPTO_CBC
+ select CRYPTO_CFB
+ select CRYPTO_OFB
+ select CRYPTO_CTR
+ help
+ Select here to enable Aspeed Hash & Crypto Engine (HACE)
+ crypto driver.
+ Supports AES/DES symmetric-key encryption and decryption
+ with ECB/CBC/CFB/OFB/CTR options.