]> git.ipfire.org Git - thirdparty/linux.git/commit
lib/crypto: tests: Add KUnit tests for GHASH
authorEric Biggers <ebiggers@kernel.org>
Thu, 19 Mar 2026 06:17:05 +0000 (23:17 -0700)
committerEric Biggers <ebiggers@kernel.org>
Mon, 23 Mar 2026 21:56:32 +0000 (14:56 -0700)
commit75e34bef53251744d95fd242b0345122fa462c7b
tree9bb3c1845fbd0072c669947442d04b2301188d71
parentc417e7045b70345f59643fb2db67b0e7fbd7fbd0
lib/crypto: tests: Add KUnit tests for GHASH

Add a KUnit test suite for the GHASH library functions.

It closely mirrors the POLYVAL test suite.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20260319061723.1140720-5-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
lib/crypto/.kunitconfig
lib/crypto/tests/Kconfig
lib/crypto/tests/Makefile
lib/crypto/tests/ghash-testvecs.h [new file with mode: 0644]
lib/crypto/tests/ghash_kunit.c [new file with mode: 0644]
scripts/crypto/gen-hash-testvecs.py