summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/Kconfig
diff options
context:
space:
mode:
authorZain Wang <zain.wang@rock-chips.com>2015-11-25 13:43:32 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-11-27 21:19:32 +0800
commit433cd2c617bfbac27a02e40fbcce1713c84ce441 (patch)
tree85707d62dbcbf060eaa26d9034c65cef5bd25fa2 /drivers/crypto/Kconfig
parente81c1b4646149c1e67610c83e8770a7217491a13 (diff)
downloadop-kernel-dev-433cd2c617bfbac27a02e40fbcce1713c84ce441.zip
op-kernel-dev-433cd2c617bfbac27a02e40fbcce1713c84ce441.tar.gz
crypto: rockchip - add crypto driver for rk3288
Crypto driver support: ecb(aes) cbc(aes) ecb(des) cbc(des) ecb(des3_ede) cbc(des3_ede) You can alloc tags above in your case. And other algorithms and platforms will be added later on. Signed-off-by: Zain Wang <zain.wang@rock-chips.com> Tested-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/Kconfig')
-rw-r--r--drivers/crypto/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 5357bc1..95dccde 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -497,4 +497,15 @@ config CRYPTO_DEV_SUN4I_SS
To compile this driver as a module, choose M here: the module
will be called sun4i-ss.
+config CRYPTO_DEV_ROCKCHIP
+ tristate "Rockchip's Cryptographic Engine driver"
+ depends on OF && ARCH_ROCKCHIP
+ select CRYPTO_AES
+ select CRYPTO_DES
+ select CRYPTO_BLKCIPHER
+
+ help
+ This driver interfaces with the hardware crypto accelerator.
+ Supporting cbc/ecb chainmode, and aes/des/des3_ede cipher mode.
+
endif # CRYPTO_HW
OpenPOWER on IntegriCloud