summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/Kconfig
diff options
context:
space:
mode:
authorRob Rice2017-02-03 18:55:33 +0100
committerHerbert Xu2017-02-11 10:55:20 +0100
commit9d12ba86f818aa9cfe9f01b750336aa441f2ffa2 (patch)
tree1a155767f100c58ddf0d0cc51ac1f095798409b9 /drivers/crypto/Kconfig
parentcrypto: brcm - DT documentation for Broadcom SPU hardware (diff)
downloadkernel-qcow2-linux-9d12ba86f818aa9cfe9f01b750336aa441f2ffa2.tar.gz
kernel-qcow2-linux-9d12ba86f818aa9cfe9f01b750336aa441f2ffa2.tar.xz
kernel-qcow2-linux-9d12ba86f818aa9cfe9f01b750336aa441f2ffa2.zip
crypto: brcm - Add Broadcom SPU driver
Add Broadcom Secure Processing Unit (SPU) crypto driver for SPU hardware crypto offload. The driver supports ablkcipher, ahash, and aead symmetric crypto operations. Signed-off-by: Steve Lin <steven.lin1@broadcom.com> Signed-off-by: Rob Rice <rob.rice@broadcom.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/Kconfig')
-rw-r--r--drivers/crypto/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 9c2760f69226..2cac445b02fd 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -587,4 +587,19 @@ source "drivers/crypto/chelsio/Kconfig"
source "drivers/crypto/virtio/Kconfig"
+config CRYPTO_DEV_BCM_SPU
+ tristate "Broadcom symmetric crypto/hash acceleration support"
+ depends on ARCH_BCM_IPROC
+ depends on BCM_PDC_MBOX
+ default m
+ select CRYPTO_DES
+ select CRYPTO_MD5
+ select CRYPTO_SHA1
+ select CRYPTO_SHA256
+ select CRYPTO_SHA512
+ help
+ This driver provides support for Broadcom crypto acceleration using the
+ Secure Processing Unit (SPU). The SPU driver registers ablkcipher,
+ ahash, and aead algorithms with the kernel cryptographic API.
+
endif # CRYPTO_HW