OSDN Git Service

crypto: inside-secure - authenc(hmac(sha256), cbc(aes)) support
authorAntoine Tenart <antoine.tenart@bootlin.com>
Mon, 14 May 2018 13:11:02 +0000 (15:11 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 26 May 2018 16:11:59 +0000 (00:11 +0800)
commitf6beaea304872bb1c76bf6c551386bf896cac8b9
treeb972b1b04ae35bd8b3d245af9898c889bde366ff
parentbdfd19095685825ba7bbaa6740c9fc7fe4a2ca39
crypto: inside-secure - authenc(hmac(sha256), cbc(aes)) support

This patch adds support for the first AEAD algorithm in the Inside
Secure SafeXcel driver, authenc(hmac(sha256),cbc(aes)). As this is the
first AEAD algorithm added to this driver, common AEAD functions are
added as well.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig
drivers/crypto/inside-secure/safexcel.c
drivers/crypto/inside-secure/safexcel.h
drivers/crypto/inside-secure/safexcel_cipher.c
drivers/crypto/inside-secure/safexcel_hash.c