diff options
author | Keerthy <j-keerthy@ti.com> | 2020-07-13 11:34:24 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-23 10:34:17 +0300 |
commit | d2c8ac187fc922e73930a1b2f6a211e27f595d01 (patch) | |
tree | aa5f6960b177fc39816b2db0e59e651ce1f052ad /drivers/crypto/sa2ul.h | |
parent | 2dc53d0047458e28ed05b4548844ba78199857bf (diff) | |
download | linux-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.h | 1 |
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; }; |