mirror of
https://github.com/torvalds/linux.git
synced 2026-11-13 13:38:14 +01:00
Move the ChaCha20Poly1305 test from an ad-hoc self-test to a KUnit test. Keep the same test logic for now, just translated to KUnit. Moving to KUnit has multiple benefits, such as: - Consistency with the rest of the lib/crypto/ tests. - Kernel developers familiar with KUnit, which is used kernel-wide, can quickly understand the test and how to enable and run it. - The test will be automatically run by anyone using lib/crypto/.kunitconfig or KUnit's all_tests.config. - Results are reported using the standard KUnit mechanism. - It eliminates one of the few remaining back-references to crypto/ from lib/crypto/, specifically a reference to CONFIG_CRYPTO_SELFTESTS. Acked-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20260327224229.137532-1-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org> |
||
|---|---|---|
| .. | ||
| aes_cbc_macs_kunit.c | ||
| aes-cmac-testvecs.h | ||
| blake2b_kunit.c | ||
| blake2b-testvecs.h | ||
| blake2s_kunit.c | ||
| blake2s-testvecs.h | ||
| chacha20poly1305_kunit.c | ||
| curve25519_kunit.c | ||
| ghash_kunit.c | ||
| ghash-testvecs.h | ||
| hash-test-template.h | ||
| Kconfig | ||
| Makefile | ||
| md5_kunit.c | ||
| md5-testvecs.h | ||
| mldsa_kunit.c | ||
| mldsa-testvecs.h | ||
| nh_kunit.c | ||
| nh-testvecs.h | ||
| poly1305_kunit.c | ||
| poly1305-testvecs.h | ||
| polyval_kunit.c | ||
| polyval-testvecs.h | ||
| sha1_kunit.c | ||
| sha1-testvecs.h | ||
| sha3_kunit.c | ||
| sha3-testvecs.h | ||
| sha224_kunit.c | ||
| sha224-testvecs.h | ||
| sha256_kunit.c | ||
| sha256-testvecs.h | ||
| sha384_kunit.c | ||
| sha384-testvecs.h | ||
| sha512_kunit.c | ||
| sha512-testvecs.h | ||
| sm3_kunit.c | ||
| sm3-testvecs.h | ||