]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: marvell/cesa - add a new driver for Marvell's CESA
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 18 Jun 2015 13:46:20 +0000 (15:46 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 19 Jun 2015 14:18:03 +0000 (22:18 +0800)
commit307357551b586a87143d703d85fe1f366c1010f1
treee1c3711f9f927e6a88ec8c5306e70b754a7681fb
parent6e3e3adc951c92de4f0230ded0125626532d1296
crypto: marvell/cesa - add a new driver for Marvell's CESA

The existing mv_cesa driver supports some features of the CESA IP but is
quite limited, and reworking it to support new features (like involving the
TDMA engine to offload the CPU) is almost impossible.
This driver has been rewritten from scratch to take those new features into
account.

This commit introduce the base infrastructure allowing us to add support
for DMA optimization.
It also includes support for one hash (SHA1) and one cipher (AES)
algorithm, and enable those features on the Armada 370 SoC.

Other algorithms and platforms will be added later on.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig
drivers/crypto/Makefile
drivers/crypto/marvell/Makefile [new file with mode: 0644]
drivers/crypto/marvell/cesa.c [new file with mode: 0644]
drivers/crypto/marvell/cesa.h [new file with mode: 0644]
drivers/crypto/marvell/cipher.c [new file with mode: 0644]
drivers/crypto/marvell/hash.c [new file with mode: 0644]