lib/crc_kunit.c: add test and benchmark for crc7_be()

Wire up crc7_be() to crc_kunit.  Previously it had no test.

Link: https://lore.kernel.org/r/20250304223943.157493-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
This commit is contained in:
Eric Biggers
2025-03-04 14:39:43 -08:00
parent 5aebe00b2f
commit 7715f8cfe5
2 changed files with 34 additions and 2 deletions

View File

@@ -2852,6 +2852,7 @@ config CRC_KUNIT_TEST
tristate "KUnit tests for CRC functions" if !KUNIT_ALL_TESTS
depends on KUNIT
default KUNIT_ALL_TESTS
select CRC7
select CRC16
select CRC_T10DIF
select CRC32