crypto: inside-secure - add SafeXcel EIP197 crypto engine driver
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Wed, 24 May 2017 14:10:34 +0000 (16:10 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 10 Jun 2017 04:04:21 +0000 (12:04 +0800)
commit1b44c5a60c137e5fd0c2c8b86e58fdbc9cd181ce
tree963e4bea0aadf317d3d32114da91373577f7073c
parentc28e8f21642fd01a65687de9bfa5307fdcfe9966
crypto: inside-secure - add SafeXcel EIP197 crypto engine driver

Add support for Inside Secure SafeXcel EIP197 cryptographic engine,
which can be found on Marvell Armada 7k and 8k boards. This driver
currently implements: ecb(aes), cbc(aes), sha1, sha224, sha256 and
hmac(sah1) algorithms.

Two firmwares are needed for this engine to work. Their are mostly used
for more advanced operations than the ones supported (as of now), but we
still need them to pass the data to the internal cryptographic engine.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig
drivers/crypto/Makefile
drivers/crypto/inside-secure/Makefile [new file with mode: 0644]
drivers/crypto/inside-secure/safexcel.c [new file with mode: 0644]
drivers/crypto/inside-secure/safexcel.h [new file with mode: 0644]
drivers/crypto/inside-secure/safexcel_cipher.c [new file with mode: 0644]
drivers/crypto/inside-secure/safexcel_hash.c [new file with mode: 0644]
drivers/crypto/inside-secure/safexcel_ring.c [new file with mode: 0644]