summaryrefslogtreecommitdiff
path: root/lib/crypto/tests/sm3_kunit.c
AgeCommit message (Collapse)Author
2026-03-23lib/crypto: tests: Add KUnit tests for SM3Eric Biggers
Add a KUnit test suite for the SM3 library. It closely mirrors the test suites for the other cryptographic hash functions. The actual test and benchmark logic is already in hash-test-template.h; this just wires it up for SM3 in the usual way. Acked-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20260321040935.410034-6-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>