linux/arch/arm64
Eric Biggers f6a458746f crypto: arm64/ghash - Fix incorrect output from ghash-neon
Commit 9a7c987fb9 ("crypto: arm64/ghash - Use API partial block
handling") made ghash_finup() pass the wrong buffer to
ghash_do_simd_update().  As a result, ghash-neon now produces incorrect
outputs when the message length isn't divisible by 16 bytes.  Fix this.

(I didn't notice this earlier because this code is reached only on CPUs
that support NEON but not PMULL.  I haven't yet found a way to get
qemu-system-aarch64 to emulate that configuration.)

Fixes: 9a7c987fb9 ("crypto: arm64/ghash - Use API partial block handling")
Cc: stable@vger.kernel.org
Reported-by: Diederik de Haas <diederik@cknow-tech.com>
Closes: https://lore.kernel.org/linux-crypto/DETXT7QI62KE.F3CGH2VWX1SC@cknow-tech.com/
Tested-by: Diederik de Haas <diederik@cknow-tech.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Link: https://lore.kernel.org/r/20251209223417.112294-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
2025-12-10 09:46:26 -08:00
..
boot Char/Misc/IIO driver updates for 6.19-rc1 2025-12-06 18:34:24 -08:00
configs soc: sew SoC familes for 6.19 2025-12-05 17:27:12 -08:00
crypto crypto: arm64/ghash - Fix incorrect output from ghash-neon 2025-12-10 09:46:26 -08:00
hyperv
include Driver core changes for 6.19-rc1 2025-12-05 21:29:02 -08:00
kernel Driver core changes for 6.19-rc1 2025-12-05 21:29:02 -08:00
kvm ARM: 2025-12-05 17:01:20 -08:00
lib Crypto library updates for 6.17 2025-07-28 17:58:52 -07:00
mm Significant patch series in this merge are as follows: 2025-12-05 13:52:43 -08:00
net bpf-next-6.19 2025-12-03 16:54:54 -08:00
tools ARM: 2025-12-05 17:01:20 -08:00
xen
Kbuild
Kconfig soc: driver updates for 6.19, part 2 2025-12-05 17:47:59 -08:00
Kconfig.debug
Kconfig.platforms soc: sew SoC familes for 6.19 2025-12-05 17:27:12 -08:00
Makefile