crypto: algif_aead - use memcpy_sglist() instead of null skcipher

commit f2804d0eee8ddd57aa79d0b82872b74c21e1b69b 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 (cherry picked from commit 18313726440135c43cebeb267aef5ad21a2f43e7)

[Mostafa: prep commit for CVE-2026-31431; pulled in to satisfy precondition for the fix in the next commit. No semantic change.] Signed-off-by: Mostafa Amin mostafa.amin@windriver.com

Merge request reports

Loading