aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2025-11-21 03:34:31 +0000
committerEric Biggers <[email protected]>2025-11-21 18:22:24 +0000
commit141fbbecec0e71fa6b35d08c7d3dba2f9853a4ee (patch)
tree426801931c260ea8f91d6933e8cd28305e139389 /lib/mpi/mpi-mod.c
parentlib/crypto: arm/curve25519: Disable on CPU_BIG_ENDIAN (diff)
downloadkernel-141fbbecec0e71fa6b35d08c7d3dba2f9853a4ee.tar.gz
kernel-141fbbecec0e71fa6b35d08c7d3dba2f9853a4ee.zip
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: 6733968be7cb ("lib/crypto: tests: Add tests and benchmark for sha256_finup_2x()") Acked-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions