2011-03-13 15:54:26 +07:00
|
|
|
#
|
|
|
|
# Makefile for the CAAM backend and dependent components
|
|
|
|
#
|
2013-08-14 22:56:46 +07:00
|
|
|
ifeq ($(CONFIG_CRYPTO_DEV_FSL_CAAM_DEBUG), y)
|
2016-06-16 20:32:55 +07:00
|
|
|
ccflags-y := -DDEBUG
|
2013-08-14 22:56:46 +07:00
|
|
|
endif
|
2011-03-13 15:54:26 +07:00
|
|
|
|
|
|
|
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM) += caam.o
|
2013-10-25 13:31:01 +07:00
|
|
|
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_JR) += caam_jr.o
|
2011-03-13 15:54:26 +07:00
|
|
|
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API) += caamalg.o
|
crypto: caam/qi - add ablkcipher and authenc algorithms
Add support to submit ablkcipher and authenc algorithms
via the QI backend:
-ablkcipher:
cbc({aes,des,des3_ede})
ctr(aes), rfc3686(ctr(aes))
xts(aes)
-authenc:
authenc(hmac(md5),cbc({aes,des,des3_ede}))
authenc(hmac(sha*),cbc({aes,des,des3_ede}))
caam/qi being a new driver, let's wait some time to settle down without
interfering with existing caam/jr driver.
Accordingly, for now all caam/qi algorithms (caamalg_qi module) are
marked to be of lower priority than caam/jr ones (caamalg module).
Signed-off-by: Vakul Garg <vakul.garg@nxp.com>
Signed-off-by: Alex Porosanu <alexandru.porosanu@nxp.com>
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-03-17 17:06:02 +07:00
|
|
|
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI) += caamalg_qi.o
|
2016-11-22 20:44:09 +07:00
|
|
|
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC) += caamalg_desc.o
|
2012-06-23 07:48:47 +07:00
|
|
|
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API) += caamhash.o
|
2012-06-23 07:48:50 +07:00
|
|
|
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API) += caamrng.o
|
2016-07-04 17:12:08 +07:00
|
|
|
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_PKC_API) += caam_pkc.o
|
2011-03-13 15:54:26 +07:00
|
|
|
|
2013-10-25 13:31:01 +07:00
|
|
|
caam-objs := ctrl.o
|
|
|
|
caam_jr-objs := jr.o key_gen.o error.o
|
2016-07-04 17:12:08 +07:00
|
|
|
caam_pkc-y := caampkc.o pkc_desc.o
|
2017-03-17 17:06:01 +07:00
|
|
|
ifneq ($(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI),)
|
|
|
|
ccflags-y += -DCONFIG_CAAM_QI
|
|
|
|
caam-objs += qi.o
|
|
|
|
endif
|