]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: authencesn - Fix src offset when decrypting in-place
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 30 Apr 2026 06:27:29 +0000 (23:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2026 09:19:11 +0000 (11:19 +0200)
commitb5ac2c209ec71df33bdc9eb7b4c22a833d18faae
treea52c20b97f3218fafeadef61b64bc455e7234fd1
parent5466e7d0cd9e4f9cef9d8f18f18b60e7bc1c77e5
crypto: authencesn - Fix src offset when decrypting in-place

commit 1f48ad3b19a9dfc947868edda0bb8e48e5b5a8fa upstream.

The src SG list offset wasn't set properly when decrypting in-place,
fix it.

Reported-by: Wolfgang Walter <linux@stwm.de>
Fixes: e02494114ebf ("crypto: authencesn - Do not place hiseq at end of dst for out-of-place decryption")
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/authencesn.c