+9
−0
lib/crypto/tests/poly1305-testvecs.h
0 → 100644
+186
−0
lib/crypto/tests/poly1305_kunit.c
0 → 100644
+165
−0
Loading
Add a KUnit test suite for the Poly1305 functions. Most of its test cases are instantiated from hash-test-template.h, which is also used by the SHA-2 tests. A couple additional test cases are also included to test edge cases specific to Poly1305. Acked-by:Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20250709200112.258500-5-ebiggers@kernel.org Signed-off-by:
Eric Biggers <ebiggers@kernel.org>