aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/crypto/gen-hash-testvecs.py
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2025-07-09 20:01:10 +0000
committerEric Biggers <[email protected]>2025-07-14 18:29:36 +0000
commit4dcf6caddaa0471c134bf0c869086fd0b57a9cc4 (patch)
tree43833957a9ff400309f76d47072fae264f71f840 /scripts/crypto/gen-hash-testvecs.py
parentlib/crypto: tests: Add hash-test-template.h and gen-hash-testvecs.py (diff)
downloadkernel-4dcf6caddaa0471c134bf0c869086fd0b57a9cc4.tar.gz
kernel-4dcf6caddaa0471c134bf0c869086fd0b57a9cc4.zip
lib/crypto: tests: Add KUnit tests for SHA-224 and SHA-256
Add KUnit test suites for the SHA-224 and SHA-256 library functions, including the corresponding HMAC support. The core test logic is in the previously-added hash-test-template.h. This commit just adds the actual KUnit suites, and it adds the generated test vectors to the tree so that gen-hash-testvecs.py won't have to be run at build time. Acked-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'scripts/crypto/gen-hash-testvecs.py')
0 files changed, 0 insertions, 0 deletions