[PATCH 00/10] crypto: inside-secure - AEAD support

From: Antoine Tenart
Date: Wed May 02 2018 - 06:01:53 EST


Hi all,

This series brings AEAD algorithms to the Inside Secure SafeXcel driver.
The first 7 commits rework the driver to allow the future AEAD addition,
and then 3 commits add AEAD functions and 3 algorithms.

This is based on top of v4.17-rc3.

Thanks!
Antoine

Antoine Tenart (10):
crypto: aead - allow to allocate AEAD requests on the stack
crypto: inside-secure - rework cipher functions for future AEAD
support
crypto: inside-secure - rework the alg type settings in the context
crypto: inside-secure - make the context control size dynamic
crypto: inside-secure - make the key and context size computation
dynamic
crypto: inside-secure - fix the hash then encrypt/decrypt types
crypto: inside-secure - improve error reporting
crypto: inside-secure - authenc(hmac(sha256),cbc(aes)) support
crypto: inside-secure - authenc(hmac(sha224),cbc(aes)) support
crypto: inside-secure - authenc(hmac(sha1),cbc(aes)) support

drivers/crypto/Kconfig | 1 +
drivers/crypto/inside-secure/safexcel.c | 32 +
drivers/crypto/inside-secure/safexcel.h | 33 +-
.../crypto/inside-secure/safexcel_cipher.c | 642 ++++++++++++++----
drivers/crypto/inside-secure/safexcel_hash.c | 21 +-
include/crypto/aead.h | 5 +
6 files changed, 593 insertions(+), 141 deletions(-)

--
2.17.0