crypto: caam - export ahash shared descriptor generation
authorHoria Geantă <horia.geanta@nxp.com>
Wed, 12 Sep 2018 08:59:35 +0000 (11:59 +0300)
committerIuliana Prodan <iuliana.prodan@nxp.com>
Wed, 8 May 2019 13:28:24 +0000 (16:28 +0300)
commite870b8c77e610c80ba061ee448af0c2003c20f45
tree83dfaf7564e39a8840aec9148f8f96d5400038dc
parent644b503d6d1feee474004b5aba21e5886eebbf4c
crypto: caam - export ahash shared descriptor generation

caam/qi2 driver will support ahash algorithms,
thus move ahash descriptors generation in a shared location.

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit 0efa7579f3de1907acd16a358b0ade214b020d77)

Removed CRYPTO_DEV_FSL_DPAA2_CAAM from Kconfig, kept
CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC as it is in BSP

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
drivers/crypto/caam/Kconfig
drivers/crypto/caam/Makefile
drivers/crypto/caam/caamhash.c
drivers/crypto/caam/caamhash_desc.c [new file with mode: 0644]
drivers/crypto/caam/caamhash_desc.h [new file with mode: 0644]