summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2025-05-05 22:10:41 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2025-05-12 08:32:53 +0300
commitd8aeec147affcb6cb65060ed5fe095a2d0fe8a20 (patch)
treea84c81e2c5459131e6c023c566a4b6f5b95966d4 /include/crypto
parent4e39d0712ec40079c45703b43806bb05b2cfa9b0 (diff)
downloadlinux-d8aeec147affcb6cb65060ed5fe095a2d0fe8a20.tar.xz
crypto: geniv - use memcpy_sglist() instead of null skcipher
For copying data between two scatterlists, just use memcpy_sglist() instead of the so-called "null skcipher". This is much simpler. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/internal/geniv.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/crypto/internal/geniv.h b/include/crypto/internal/geniv.h
index 7fd7126f593a..012f5fb22d43 100644
--- a/include/crypto/internal/geniv.h
+++ b/include/crypto/internal/geniv.h
@@ -15,7 +15,6 @@
struct aead_geniv_ctx {
spinlock_t lock;
struct crypto_aead *child;
- struct crypto_sync_skcipher *sknull;
u8 salt[] __attribute__ ((aligned(__alignof__(u32))));
};