crypto: caam - add ecb(*) support
authorIuliana Prodan <iuliana.prodan@nxp.com>
Fri, 8 Feb 2019 13:50:09 +0000 (15:50 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Feb 2019 05:21:55 +0000 (13:21 +0800)
commiteaed71a44ad9369a2b2205cedcb9d5d894c733fa
tree60f4eaad9d126bdb1cc2526e8a5a85b50f391e1a
parentbd30cf533b77420b7c504c09cef5ba26b0c9dcb4
crypto: caam - add ecb(*) support

Add ecb mode support for aes, des, 3des and arc4 ciphers.
ecb(*) reuses existing skcipher implementation, updating it with support
for no IV.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/Kconfig
drivers/crypto/caam/caamalg.c
drivers/crypto/caam/caamalg_desc.c
drivers/crypto/caam/compat.h