crypto: sa2ul - Add AEAD algorithm support
authorKeerthy <j-keerthy@ti.com>
Mon, 13 Jul 2020 08:34:24 +0000 (11:34 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Jul 2020 07:34:17 +0000 (17:34 +1000)
commitd2c8ac187fc922e73930a1b2f6a211e27f595d01
treeaa5f6960b177fc39816b2db0e59e651ce1f052ad
parent2dc53d0047458e28ed05b4548844ba78199857bf
crypto: sa2ul - Add AEAD algorithm support

Add support for sa2ul hardware AEAD for hmac(sha256),cbc(aes) and
hmac(sha1),cbc(aes) algorithms.

Signed-off-by: Keerthy <j-keerthy@ti.com>
[t-kristo@ti.com: number of bug fixes, major refactoring and cleanup of
 code]
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sa2ul.c
drivers/crypto/sa2ul.h