]> www.infradead.org Git - users/dwmw2/linux.git/commit
crypto: x86/ghash - Use proper helpers to clone request
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 16 Feb 2025 03:07:15 +0000 (11:07 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 22 Feb 2025 08:00:03 +0000 (16:00 +0800)
commitf407764621220ffad3df6c589efc4b4ac010d3d5
treea3d6d6cdee3bf14ee92036452d696174f09c57b1
parent075db21426b17609e2374274751b761e35d39664
crypto: x86/ghash - Use proper helpers to clone request

Rather than copying a request by hand with memcpy, use the correct
API helpers to setup the new request.  This will matter once the
API helpers start setting up chained requests as a simple memcpy
will break chaining.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/ghash-clmulni-intel_glue.c