diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2018-09-12 11:59:35 +0300 |
---|---|---|
committer | Iuliana Prodan <iuliana.prodan@nxp.com> | 2019-05-14 12:20:19 +0300 |
commit | ec05709b683e6b696b69e67b2017142a720175cf (patch) | |
tree | 2eebd9a9e8e33bbfac002547f7903424063f60e8 /drivers/crypto/caam/Kconfig | |
parent | 4b04777f9c9cbdaba0552d234ebb721db2d56c89 (diff) |
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.
Also, removed era argument from the function that
creates ahash shared descriptor since it is unused
without Derived Key Protocol.
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Diffstat (limited to 'drivers/crypto/caam/Kconfig')
-rw-r--r-- | drivers/crypto/caam/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/crypto/caam/Kconfig b/drivers/crypto/caam/Kconfig index 4b9168fb382a..9be24512c56d 100644 --- a/drivers/crypto/caam/Kconfig +++ b/drivers/crypto/caam/Kconfig @@ -213,3 +213,6 @@ config CRYPTO_DEV_FSL_CAAM_DEBUG config CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC def_tristate (CRYPTO_DEV_FSL_CAAM_CRYPTO_API || \ CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI) + +config CRYPTO_DEV_FSL_CAAM_AHASH_API_DESC + def_tristate (CRYPTO_DEV_FSL_CAAM_AHASH_API) |