linux/lib/crypto/tests
Thomas Weißschuh fcff71fd88 lib/crypto: tests: polyval_kunit: Increase iterations for preparekey in IRQs
On my development machine the generic, memcpy()-only implementation of
polyval_preparekey() is too fast for the IRQ workers to actually fire.
The test fails.

Increase the iterations to make the test more robust.
The test will run for a maximum of one second in any case.

[EB: This failure was already fixed by commit c31f4aa8fe ("kunit:
Enforce task execution in {soft,hard}irq contexts").  I'm still applying
this patch too, since the iteration count in this test made its running
time much shorter than the other similar ones.]

Fixes: b3aed551b3 ("lib/crypto: tests: Add KUnit tests for POLYVAL")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://lore.kernel.org/r/20260102-kunit-polyval-fix-v1-1-5313b5a65f35@linutronix.de
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
2026-01-08 11:14:59 -08:00
..
Kconfig
Makefile
blake2b-testvecs.h
blake2b_kunit.c
blake2s-testvecs.h
blake2s_kunit.c
curve25519_kunit.c
hash-test-template.h
md5-testvecs.h
md5_kunit.c
poly1305-testvecs.h
poly1305_kunit.c
polyval-testvecs.h
polyval_kunit.c
sha1-testvecs.h
sha1_kunit.c
sha3-testvecs.h
sha3_kunit.c
sha224-testvecs.h
sha224_kunit.c
sha256-testvecs.h
sha256_kunit.c
sha384-testvecs.h
sha384_kunit.c
sha512-testvecs.h
sha512_kunit.c