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>
This commit is contained in:
parent
ec8f5d8f6f
commit
c672752d9c
|
@ -419,4 +419,20 @@ config CRYPTO_DEV_MXS_DCP
|
||||||
will be called mxs-dcp.
|
will be called mxs-dcp.
|
||||||
|
|
||||||
source "drivers/crypto/qat/Kconfig"
|
source "drivers/crypto/qat/Kconfig"
|
||||||
|
|
||||||
|
config CRYPTO_DEV_QCE
|
||||||
|
tristate "Qualcomm crypto engine accelerator"
|
||||||
|
select CRYPTO_AES
|
||||||
|
select CRYPTO_DES
|
||||||
|
select CRYPTO_ECB
|
||||||
|
select CRYPTO_CBC
|
||||||
|
select CRYPTO_XTS
|
||||||
|
select CRYPTO_CTR
|
||||||
|
select CRYPTO_ALGAPI
|
||||||
|
select CRYPTO_BLKCIPHER
|
||||||
|
help
|
||||||
|
This driver supports Qualcomm crypto engine accelerator
|
||||||
|
hardware. To compile this driver as a module, choose M here. The
|
||||||
|
module will be called qcrypto.
|
||||||
|
|
||||||
endif # CRYPTO_HW
|
endif # CRYPTO_HW
|
||||||
|
|
|
@ -24,3 +24,4 @@ obj-$(CONFIG_CRYPTO_DEV_SAHARA) += sahara.o
|
||||||
obj-$(CONFIG_CRYPTO_DEV_TALITOS) += talitos.o
|
obj-$(CONFIG_CRYPTO_DEV_TALITOS) += talitos.o
|
||||||
obj-$(CONFIG_CRYPTO_DEV_UX500) += ux500/
|
obj-$(CONFIG_CRYPTO_DEV_UX500) += ux500/
|
||||||
obj-$(CONFIG_CRYPTO_DEV_QAT) += qat/
|
obj-$(CONFIG_CRYPTO_DEV_QAT) += qat/
|
||||||
|
obj-$(CONFIG_CRYPTO_DEV_QCE) += qce/
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
obj-$(CONFIG_CRYPTO_DEV_QCE) += qcrypto.o
|
||||||
|
qcrypto-objs := core.o \
|
||||||
|
common.o \
|
||||||
|
dma.o \
|
||||||
|
sha.o \
|
||||||
|
ablkcipher.o
|
Loading…
Reference in New Issue