summaryrefslogtreecommitdiff
path: root/drivers/crypto/sa2ul.h
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2020-07-13 11:34:24 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-07-23 10:34:17 +0300
commitd2c8ac187fc922e73930a1b2f6a211e27f595d01 (patch)
treeaa5f6960b177fc39816b2db0e59e651ce1f052ad /drivers/crypto/sa2ul.h
parent2dc53d0047458e28ed05b4548844ba78199857bf (diff)
downloadlinux-d2c8ac187fc922e73930a1b2f6a211e27f595d01.tar.xz
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;
};