2011-03-13 08:54:26 +00:00
|
|
|
#
|
|
|
|
# Makefile for the CAAM backend and dependent components
|
|
|
|
#
|
2013-08-14 15:56:46 +00:00
|
|
|
ifeq ($(CONFIG_CRYPTO_DEV_FSL_CAAM_DEBUG), y)
|
2016-06-16 13:32:55 +00:00
|
|
|
ccflags-y := -DDEBUG
|
2013-08-14 15:56:46 +00:00
|
|
|
endif
|
2011-03-13 08:54:26 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM) += caam.o
|
2013-10-25 06:31:01 +00:00
|
|
|
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_JR) += caam_jr.o
|
2011-03-13 08:54:26 +00: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 10:06:02 +00:00
|
|
|
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI) += caamalg_qi.o
|
2016-11-22 13:44:09 +00:00
|
|
|
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC) += caamalg_desc.o
|
2012-06-23 00:48:47 +00:00
|
|
|
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API) += caamhash.o
|
2012-06-23 00:48:50 +00:00
|
|
|
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API) += caamrng.o
|
2016-07-04 10:12:08 +00:00
|
|
|
obj-$(CONFIG_CRYPTO_DEV_FSL_CAAM_PKC_API) += caam_pkc.o
|
2011-03-13 08:54:26 +00:00
|
|
|
|
2013-10-25 06:31:01 +00:00
|
|
|
caam-objs := ctrl.o
|
|
|
|
caam_jr-objs := jr.o key_gen.o error.o
|
2016-07-04 10:12:08 +00:00
|
|
|
caam_pkc-y := caampkc.o pkc_desc.o
|
2017-03-17 10:06:01 +00:00
|
|
|
ifneq ($(CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI),)
|
|
|
|
ccflags-y += -DCONFIG_CAAM_QI
|
|
|
|
caam-objs += qi.o
|
|
|
|
endif
|