]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: authenc - use memcpy_sglist() instead of null skcipher
authorEric Biggers <ebiggers@google.com>
Thu, 30 Apr 2026 06:27:27 +0000 (23:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2026 09:19:11 +0000 (11:19 +0200)
commita69dedc3c482d685ad2090aa8a77d92b5d3dcea4
tree420027c4cd144d45cf77fd98c7c6508f9f12e09e
parentfa0fcec9b49d58e71df7ede91ecd86855f608e85
crypto: authenc - use memcpy_sglist() instead of null skcipher

commit dbc4b1458e931e47198c3165ff5853bc1ad6bd7a upstream.

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>
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
crypto/Kconfig
crypto/authenc.c
crypto/authencesn.c