summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/sa2ul.h
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2020-07-13 10:34:24 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2020-07-23 09:34:17 +0200
commitd2c8ac187fc922e73930a1b2f6a211e27f595d01 (patch)
treeaa5f6960b177fc39816b2db0e59e651ce1f052ad /drivers/crypto/sa2ul.h
parentcrypto: sa2ul - add sha1/sha256/sha512 support (diff)
downloadlinux-d2c8ac187fc922e73930a1b2f6a211e27f595d01.tar.xz
linux-d2c8ac187fc922e73930a1b2f6a211e27f595d01.zip
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>
Diffstat (limited to 'drivers/crypto/sa2ul.h')
-rw-r--r--drivers/crypto/sa2ul.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/sa2ul.h b/drivers/crypto/sa2ul.h
index dc5e3470c3a0..7f7e3fe60d11 100644
--- a/drivers/crypto/sa2ul.h
+++ b/drivers/crypto/sa2ul.h
@@ -313,6 +313,7 @@ struct sa_tfm_ctx {
union {
struct crypto_sync_skcipher *skcipher;
struct crypto_ahash *ahash;
+ struct crypto_aead *aead;
} fallback;
};