aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStanimir Varbanov <svarbanov@mm-sol.com>2014-06-25 12:28:58 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2014-07-03 09:42:03 -0400
commitc672752d9c8450cbe051cf6bf93bf35b9645b226 (patch)
tree618794e7d6f26317d4cffe604d6c01494ab3b0ba
parentec8f5d8f6f76b939f662d6e83041abecabef0a34 (diff)
crypto: qce - Build Qualcomm crypto driver
Modify crypto Kconfig and Makefile in order to build the qce driver and adds qce Makefile as well. Signed-off-by: Stanimir Varbanov <svarbanov@mm-sol.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--drivers/crypto/Kconfig16
-rw-r--r--drivers/crypto/Makefile1
-rw-r--r--drivers/crypto/qce/Makefile6
3 files changed, 23 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 107822f43fc3..3e5186e5c50c 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -419,4 +419,20 @@ config CRYPTO_DEV_MXS_DCP
419 will be called mxs-dcp. 419 will be called mxs-dcp.
420 420
421source "drivers/crypto/qat/Kconfig" 421source "drivers/crypto/qat/Kconfig"
422
423config CRYPTO_DEV_QCE
424 tristate "Qualcomm crypto engine accelerator"
425 select CRYPTO_AES
426 select CRYPTO_DES
427 select CRYPTO_ECB
428 select CRYPTO_CBC
429 select CRYPTO_XTS
430 select CRYPTO_CTR
431 select CRYPTO_ALGAPI
432 select CRYPTO_BLKCIPHER
433 help
434 This driver supports Qualcomm crypto engine accelerator
435 hardware. To compile this driver as a module, choose M here. The
436 module will be called qcrypto.
437
422endif # CRYPTO_HW 438endif # CRYPTO_HW
diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile
index f996ed72569c..3924f93d5774 100644
--- a/drivers/crypto/Makefile
+++ b/drivers/crypto/Makefile
@@ -24,3 +24,4 @@ obj-$(CONFIG_CRYPTO_DEV_SAHARA) += sahara.o
24obj-$(CONFIG_CRYPTO_DEV_TALITOS) += talitos.o 24obj-$(CONFIG_CRYPTO_DEV_TALITOS) += talitos.o
25obj-$(CONFIG_CRYPTO_DEV_UX500) += ux500/ 25obj-$(CONFIG_CRYPTO_DEV_UX500) += ux500/
26obj-$(CONFIG_CRYPTO_DEV_QAT) += qat/ 26obj-$(CONFIG_CRYPTO_DEV_QAT) += qat/
27obj-$(CONFIG_CRYPTO_DEV_QCE) += qce/
diff --git a/drivers/crypto/qce/Makefile b/drivers/crypto/qce/Makefile
new file mode 100644
index 000000000000..348dc3173afa
--- /dev/null
+++ b/drivers/crypto/qce/Makefile
@@ -0,0 +1,6 @@
1obj-$(CONFIG_CRYPTO_DEV_QCE) += qcrypto.o
2qcrypto-objs := core.o \
3 common.o \
4 dma.o \
5 sha.o \
6 ablkcipher.o