summaryrefslogtreecommitdiffstats
path: root/net/9p
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-04-12 06:57:39 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-04-18 16:15:03 +0200
commit9a8a6b3f0950c0df220b684b686c26a902cfcf1a (patch)
treeba47d6fa6fffbc2ff6d2ef1bc2e6abcbaed95c3b /net/9p
parentcrypto: testmgr - add helpers for fuzzing against generic implementation (diff)
downloadlinux-9a8a6b3f0950c0df220b684b686c26a902cfcf1a.tar.xz
linux-9a8a6b3f0950c0df220b684b686c26a902cfcf1a.zip
crypto: testmgr - fuzz hashes against their generic implementation
When the extra crypto self-tests are enabled, test each hash algorithm against its generic implementation when one is available. This involves: checking the algorithm properties for consistency, then randomly generating test vectors using the generic implementation and running them against the implementation under test. Both good and bad inputs are tested. This has already detected a bug in the x86 implementation of poly1305, bugs in crct10dif, and an inconsistency in cbcmac. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions