]> git.karo-electronics.de Git - linux-beck.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)
commitf63601fd616ab370774fa00ea10bcaaa9e48e84c
treee1c3711f9f927e6a88ec8c5306e70b754a7681fb
parent1fa2e9ae1d3782bd8f737487dc6306ba16b4d016
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]