linux/lib/crypto
Eric Biggers 141fbbecec lib/crypto: tests: Fix KMSAN warning in test_sha256_finup_2x()
Fully initialize *ctx, including the buf field which sha256_init()
doesn't initialize, to avoid a KMSAN warning when comparing *ctx to
orig_ctx.  This KMSAN warning slipped in while KMSAN was not working
reliably due to a stackdepot bug, which has now been fixed.

Fixes: 6733968be7 ("lib/crypto: tests: Add tests and benchmark for sha256_finup_2x()")
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20251121033431.34406-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
2025-11-21 10:22:24 -08:00
..
arm
arm64
mips
mpi
powerpc
riscv
s390
sparc
tests lib/crypto: tests: Fix KMSAN warning in test_sha256_finup_2x() 2025-11-21 10:22:24 -08:00
x86
Kconfig lib/crypto: arm/curve25519: Disable on CPU_BIG_ENDIAN 2025-11-04 09:36:22 -08:00
Makefile
aes.c
aescfb.c
aesgcm.c
arc4.c
blake2s.c
chacha-block-generic.c
chacha.c
chacha20poly1305-selftest.c
chacha20poly1305.c
curve25519-fiat32.c
curve25519-hacl64.c
curve25519.c
des.c
gf128mul.c
hash_info.c
md5.c
memneq.c
poly1305-donna32.c
poly1305-donna64.c
poly1305.c
sha1.c
sha256.c
sha512.c
simd.c
sm3.c
utils.c